mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-06 02:24:25 -05:00
Add unspent coin count to wallet balance API
This commit is contained in:
committed by
Gene Hoffman
parent
2c8f4546c3
commit
61baae5648
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user