An AccountBalanceResponse is returned on the /account/balance endpoint. If an account has a balance for each AccountIdentifier describing it (ex: an ERC-20 token balance on a few smart contracts), an account balance request must be made with each AccountIdentifier.

Export

Interface

RosettaAccountBalanceResponse

Hierarchy

  • RosettaAccountBalanceResponse

Properties

balances: RosettaAmount[]

A single account balance may have multiple currencies

Memberof

RosettaAccountBalanceResponse

block_identifier: object

The block_identifier uniquely identifies a block in a particular network.

Memberof

RosettaAccountBalanceResponse

coins?: RosettaCoin[]

If a blockchain is UTXO-based, all unspent Coins owned by an account_identifier should be returned alongside the balance. It is highly recommended to populate this field so that users of the Rosetta API implementation don't need to maintain their own indexer to track their UTXOs.

Memberof

RosettaAccountBalanceResponse

Memberof

RosettaAccountBalanceResponse

Generated using TypeDoc