File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 4848 assetShowWitnessName = "show_witness"
4949 assetShowSpentName = "show_spent"
5050 assetShowLeasedName = "show_leased"
51+ assetIncludeLeasedName = "include_leased"
5152 assetShowUnconfMintsName = "show_unconfirmed_mints"
5253 assetGroupKeyName = "group_key"
5354 assetGroupAnchorName = "group_anchor"
@@ -642,6 +643,10 @@ var listAssetBalancesCommand = cli.Command{
642643 Name : groupByGroupName ,
643644 Usage : "Group asset balances by group key" ,
644645 },
646+ cli.BoolFlag {
647+ Name : assetIncludeLeasedName ,
648+ Usage : "Include leased assets in balances" ,
649+ },
645650 cli.StringFlag {
646651 Name : assetIDName ,
647652 Usage : "A specific asset ID to run the balance query " +
@@ -663,7 +668,9 @@ func listAssetBalances(ctx *cli.Context) error {
663668
664669 var err error
665670
666- req := & taprpc.ListBalancesRequest {}
671+ req := & taprpc.ListBalancesRequest {
672+ IncludeLeased : ctx .Bool (assetIncludeLeasedName ),
673+ }
667674
668675 if ! ctx .Bool (groupByGroupName ) {
669676 req .GroupBy = & taprpc.ListBalancesRequest_AssetId {
You can’t perform that action at this time.
0 commit comments