For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Tokens

Get an account's light token accounts

get

This method returns the account's light token accounts.

Authorizations
X-Ledger-API-KeystringRequired

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.

X-Ledger-API-UserstringRequired

(required) Username of a registered API User

Path parameters
account_idintegerRequired

The account's ID

Responses
200

List of light token account description

application/json
addressstringRequired
balancestringRequiredPattern: ^[0-9]*(\.[0-9]+)?$
contract_addressstringRequired
tickerstringRequired
get/accounts/{account_id}/tokens
GET /accounts/{account_id}/tokens HTTP/1.1
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
[
  {
    "address": "text",
    "balance": "text",
    "contract_address": "text",
    "ticker": "text"
  }
]