47
47
assetGroupedAssetName = "grouped_asset"
48
48
assetShowWitnessName = "show_witness"
49
49
assetShowSpentName = "show_spent"
50
+ assetShowLeasedName = "show_leased"
50
51
assetShowUnconfMintsName = "show_unconfirmed_mints"
51
52
assetGroupKeyName = "group_key"
52
53
assetGroupAnchorName = "group_anchor"
@@ -555,6 +556,10 @@ var listAssetsCommand = cli.Command{
555
556
Name : assetShowSpentName ,
556
557
Usage : "include fully spent assets in the list" ,
557
558
},
559
+ cli.BoolFlag {
560
+ Name : assetShowLeasedName ,
561
+ Usage : "include leased assets in the list" ,
562
+ },
558
563
cli.BoolFlag {
559
564
Name : assetShowUnconfMintsName ,
560
565
Usage : "include freshly minted and not yet confirmed " +
@@ -574,6 +579,7 @@ func listAssets(ctx *cli.Context) error {
574
579
resp , err := client .ListAssets (ctxc , & taprpc.ListAssetRequest {
575
580
WithWitness : ctx .Bool (assetShowWitnessName ),
576
581
IncludeSpent : ctx .Bool (assetShowSpentName ),
582
+ IncludeLeased : ctx .Bool (assetShowLeasedName ),
577
583
IncludeUnconfirmedMints : ctx .Bool (assetShowUnconfMintsName ),
578
584
})
579
585
if err != nil {
0 commit comments