v1

latestOpenAPI 3.0.12026-07-177294143.2 KB
corecontracts

Get all assets belonging to an account

get/v1/chains/{chainID}/core/accounts/account/{agentID}/balance

Path parameters

chainIDstring string required

ChainID (Bech32)

agentIDstring string required

AgentID (Bech32 for WasmVM | Hex for EVM)

Query parameters

blockstring string

Block index or trie root

Response

All assets belonging to an account

baseTokensstring string required

The base tokens (uint64 as string)

Example response

{
  "baseTokens": "baseTokens",
  "nativeTokens": [
    {
      "amount": "amount",
      "id": "id"
    },
    {
      "amount": "amount",
      "id": "id"
    }
  ]
}