Path Parameters
- accountIdstringREQUIRED
The SS58 address of the account.
Query Parameters
- atstring
The block at which to query balance info for the specified account.
- tokenstring
The token to query the balance of. If not specified it will query the chains native token (e.g. DOT for Polkadot). Note: this is only relevant for chains that support multiple tokens through the ORML tokens pallet.
- denominatedboolean
When set to
trueit will denominate any balance's given atomic value using the chains given decimal value.
Returns
- atobject
An Object containing information about the blockchain state which contains the following fields:
- hashstring
The hash of the block at the specified state
- heightstring
The height of the block at the specified state
- noncestring
The current nonce of the account
- tokenSymbolstring
The symbol of the token for which the balance information is provided.
- freestring
The amount of free (spendable) balance.
- reservedstring
The amount of balance reserved for various purposes.
- miscFrozenstring
The amount of balance that is frozen for miscellaneous reasons.
- feeFrozenstring
The amount of balance that is frozen for fees.
- frozenstring
The total amount of frozen balance.
- locksarray
An array of objects representing any locks on the balance.
- idstring
The identifier of the lock.
- amountstring
The amount of balance that is locked.
- reasonsstring
The reasons for the lock, such as fees or other restrictions