Get accounts by wallet id
GET/v1/wallets/:wallet_id/accounts
Get accounts by wallet id
This endpoint retrieves accounts associated with a given wallet ID, supporting optional filters such as sorting, ordering, pagination, and date range. It also allows fetching detailed coin information for each account if requested. The response includes basic account details or enriched data with coin balances and metadata, depending on the request parameters.
Request
Path Parameters
wallet_id uuidrequired
Wallet id
Query Parameters
coins boolean
Coins
sort_by string
Sort by
order_by string
Order by
page int32
Page
page_size int32
Page size
search string
Search
end_date date-time
End date
start_date date-time
Start date
Responses
- 200
- 404
- 500
Accounts with coins found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- ]
- ]
- ]
address stringrequired
approvers uuid[]nullable
approversQuantity int32nullable
balance doublerequired
chainPath stringrequired
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
createdAt date-timerequired
exchangeApiKey stringnullable
exchangeApiSecret stringnullable
id uuidrequired
isActive booleanrequired
isImported booleanrequired
name stringrequired
transactionLimit stringrequired
type stringrequired
userRole stringnullable
walletId uuidrequired
[
{
"address": "string",
"approvers": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"approversQuantity": 0,
"balance": 0,
"chainPath": "string",
"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"
}
],
"createdAt": "2024-09-25T19:42:12.665Z",
"exchangeApiKey": "string",
"exchangeApiSecret": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"isActive": true,
"isImported": true,
"name": "string",
"transactionLimit": "string",
"type": "string",
"userRole": "string",
"walletId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Wallet not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...