← Prompts
Reference System Prompts Collection

getaddressbalance

getaddressbalance Returns the balance for an address(es) (requires addressindex to be enabled). Arguments: { "addresses:" [ "address" (string) The base58check encoded address ,...

getaddressbalance

Returns the balance for an address(es) (requires addressindex to be enabled).

Arguments:
{
  "addresses:"
    [
      "address"  (string) The base58check encoded address
      ,...
    ]
},
"includeAssets" (boolean, optional, default false)  If true this will return an expanded result which includes asset balances


Result:
{
  "balance"  (string) The current balance in satoshis
  "received"  (string) The total number of satoshis received (including change)
}
OR
[
  {
    "assetName"  (string) The asset associated with the balance (RVN for Ravencoin)
    "balance"  (string) The current balance in satoshis

Sign in to view the full prompt.

Sign In

Classification

Reference Documentation, cheatsheets, setup guides
Scope Project
This codebase
Manual Manually placed / Persistent