Balances
This method returns the account's balances that matches the entered ID.
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
(required) Username of a registered API User
The account's ID
Account object
Account not found
GET /accounts/{account_id}/balances HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
"available": "750",
"pending": "250",
"total": "1000"
}This method returns the account's balances history that matches the entered ID.
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
(required) Username of a registered API User
The account's ID
End of the balance history time span.
2025-04-08T14:57:28.155582+00:00Start of the balance history time span.
2025-04-08T14:57:28.155554+00:00Account object
Not supported for this currency
GET /accounts/{account_id}/balances/history HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
"account_index": 1,
"balances": [
{
"date": "text",
"value": "text"
}
],
"currency": {
"magnitude": 1,
"name": "text",
"network": "text",
"token_address": "text"
}
}Last updated