blockchain.address.get_balance
blockchain.address.get_balance
Return the confirmed and unconfirmed balances of a Bitcoin Cash address.
Signature
Function: blockchain.address.get_balance(address, { "include_tokens": true, ...})
Version added: 1.4.3
address
Address encoded as a CashAddr string (with or without prefix). Legacy addresses (base58) are also supported.
filter
Filter dict for what transactions/utxos are included in the result. Valid filters are:
include_tokens
- Include all, including those with tokens (default:true
).tokens_only
- Include only those that contain tokens (default:false
).exclude_tokens
- Include only those without tokens (default:false
).offset
- Skip the first n elements (default:0
)limit
- Return at most n elements. Use '0' for no limit (default:0
)For backward compatibility,
include_tokens
,tokens_only
, andexclude_tokens
can be passed as string instead of dict.
Result