Add unspent coin count to wallet balance API

This commit is contained in:
Chris Marslender
2021-05-09 13:21:38 -07:00
committed by Gene Hoffman
parent 2c8f4546c3
commit 61baae5648
+1
View File
@@ -456,6 +456,7 @@ class WalletRpcApi:
"spendable_balance": spendable_balance,
"pending_change": pending_change,
"max_send_amount": max_send_amount,
"unspent_coin_count": len(unspent_records),
}
return {"wallet_balance": wallet_balance}