Skip to content

token.address.get_balance

token.address.get_balance

Return the confirmed and unconfirmed balances of tokens in a Bitcoin Cash or Nexa address.

Signature

Function: token.address.get_balance(address, cursor (optional), token (optional))

Version added: Rostrum 6.0

  • address

    Address encoded as a CashAddr string (with or without prefix). Legacy addresses (base58) are also supported.

  • cursor

    Placeholder for pagination.

  • token

    Token ID as cashaddr encoded or hexadecimal string. If provided, will filter out transactions that do not include token.

Result

See token.scripthash.get_balance.