Get all assets belonging to an account
GET/v1/chains/:chainID/core/accounts/account/:agentID/balance
Get all assets belonging to an account
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
agentID stringrequired
AgentID (Bech32 for WasmVM | Hex for EVM)
Query Parameters
block string
Block index or trie root
Responses
- 200
- 401
All assets belonging to an account
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
baseTokens stringrequired
The base tokens (uint64 as string)
nativeTokens NativeTokenJSON[]required
amount stringrequired
id stringrequired
{
"baseTokens": "baseTokens",
"nativeTokens": [
{
"amount": "amount",
"id": "id"
},
{
"amount": "amount",
"id": "id"
}
]
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...