Get token balances for all lending assets
GET/v1/data/token/balances/lending
Fetches token balances for all available lending assets on a chain for a given account. Combines the available-assets lookup with balance fetching in a single call.
How it works:
- Fetches all available lending asset addresses from origin (optionally filtered by lender)
- Fetches token balances for those assets via multicall
- Enriches with token metadata, prices, and USD values
Response Structure:
balances: Array of non-zero balance entries (same format as/token/balances)count: Number of tokens with non-zero balance
Balance Entry includes:
address: Token contract address (zeroAddress for native)symbol: Token symbolname: Token namedecimals: Token decimalsbalanceRaw: Raw balance as string (wei/smallest unit)balance: Formatted balance as decimal stringbalanceUSD: Balance value in USD
Note: Zero-balance entries are excluded. The native token balance is included only if non-zero.
Request
Responses
- 200
- 400
Token balances for all lending assets with USD values
Validation error