Balances
Last updated
Last updated
This method returns the account's balances that matches the entered ID.
The account's ID
GET /accounts/{account_id}/balances HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
"available": "750",
"pending": "250",
"total": "1000"
}
This method returns the account's balances history that matches the entered ID.
The account's ID
End of the balance history time span.
2025-04-08T14:57:28.155582+00:00
Start of the balance history time span.
2025-04-08T14:57:28.155554+00:00
GET /accounts/{account_id}/balances/history HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
"account_index": 1,
"balances": [
{
"date": "text",
"value": "text"
}
],
"currency": {
"magnitude": 1,
"name": "text",
"network": "text",
"token_address": "text"
}
}