Skip to main content
Gets the available Bitcoin balance in satoshis for a Spark address. Automatically paginates through all wallet nodes. The viewer does not claim incoming transfers. A pending receipt can exist while both available and owned balances are zero; see balance semantics. Private wallets also return empty results to unauthorized clients, so emptiness is not a permission check.

Method Signature

Parameters

string
required
The Spark address to query (e.g., "sp1...").

Returns

bigint
required
Available balance in satoshis. Returns 0n for private wallets queried without authentication.

Example