4747 assetGroupedAssetName = "grouped_asset"
4848 assetShowWitnessName = "show_witness"
4949 assetShowSpentName = "show_spent"
50+ assetShowLeasedName = "show_leased"
5051 assetShowUnconfMintsName = "show_unconfirmed_mints"
5152 assetGroupKeyName = "group_key"
5253 assetGroupAnchorName = "group_anchor"
@@ -555,6 +556,10 @@ var listAssetsCommand = cli.Command{
555556 Name : assetShowSpentName ,
556557 Usage : "include fully spent assets in the list" ,
557558 },
559+ cli.BoolFlag {
560+ Name : assetShowLeasedName ,
561+ Usage : "include leased assets in the list" ,
562+ },
558563 cli.BoolFlag {
559564 Name : assetShowUnconfMintsName ,
560565 Usage : "include freshly minted and not yet confirmed " +
@@ -574,6 +579,7 @@ func listAssets(ctx *cli.Context) error {
574579 resp , err := client .ListAssets (ctxc , & taprpc.ListAssetRequest {
575580 WithWitness : ctx .Bool (assetShowWitnessName ),
576581 IncludeSpent : ctx .Bool (assetShowSpentName ),
582+ IncludeLeased : ctx .Bool (assetShowLeasedName ),
577583 IncludeUnconfirmedMints : ctx .Bool (assetShowUnconfMintsName ),
578584 })
579585 if err != nil {
0 commit comments