Get coins for account
GET/v1/accounts/:account_id/coins
Get coins for account
This endpoint retrieves the cryptocurrency holdings for a specified account, including both tokens and native coins across various networks. The response includes the total balance, the number of entries, and detailed information about each coin held by the account.
Request
Path Parameters
account_id uuidrequired
Account id
Query Parameters
search_by string
Search by name or symbol
order_by string
Order by asc or desc
sort_by string
Sort by name or balance
page int32
Page number
page_size int32
Page size
network_ids string
Network ids
Responses
- 200
- 403
- 404
- 500
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
balance doublerequired
coins object[]required
accountId uuidnullable
balance floatrequired
blockchain objectnullable
chainId int32nullable
name stringnullable
shortChainId stringnullable
shortName stringnullable
decimals int32nullable
fiat object[]nullable
balance doublerequired
symbol stringnullable
tokenValue doublerequired
logo stringnullable
name stringrequired
possibleSpam booleanrequired
symbol stringrequired
thumbnail stringnullable
tokenAddress stringrequired
totalEntries integerrequired
{
"balance": 0,
"coins": [
{
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"balance": 0,
"blockchain": {
"chainId": 0,
"name": "string",
"shortChainId": "string",
"shortName": "string"
},
"decimals": 0,
"fiat": [
{
"balance": 0,
"symbol": "string",
"tokenValue": 0
}
],
"logo": "string",
"name": "string",
"possibleSpam": true,
"symbol": "string",
"thumbnail": "string",
"tokenAddress": "string"
}
],
"totalEntries": 0
}
Forbidden
- application/json
- Schema
Schema
string
Not Found
- application/json
- Schema
Schema
string
Internal Server Error
- application/json
- Schema
Schema
string
Loading...