Skip to main content

Get all assets belonging to an account

GET 

/v1/chain/core/accounts/account/:agentID/balance

Get all assets belonging to an account

Request

Path Parameters

    agentID stringrequired

    AgentID (Hex Address for L1 accounts | Hex for EVM)

Query Parameters

    block string

    Block index or trie root

Responses

All assets belonging to an account

Schema
    baseTokens stringrequired

    The base tokens (uint64 as string)

    nativeTokens CoinJSON[]required
  • Array [
  • balance stringrequired

    The balance (uint64 as string)

    coinType stringrequired
  • ]
Loading...