Token
Token lists, balances, and available lending assets
Get token list for a chain
Fetches the complete token list for a given chain, including metadata such as symbol, name, decimals, and asset group.
Token balances
Fetches token balances for a given account on a specific chain, including USD values.
Token balance RPC calls
Prepares raw JSON-RPC `eth_call`s for fetching token balances using a batched balance-fetcher contract. Returns an `rpcCallId` and an array of `rpcCalls` that the integrator executes against their own RPC provider(s). The raw responses are then submitted to `/token/balances/parse` together with the `rpcCallId`. Two modes: **single-chain** (`chainId` + required `assets`; `rpcCalls` is a bare call array) and **multi-chain** (`chains` CSV, max 30; `rpcCalls` entries are `{ chainId, call }`). In multi-chain mode `assets` is optional — it defaults to each chain's curated `mainTokens` from the token lists, keeping balance scans small even where full lists hold tens of thousands of tokens (max 200 assets per chain). Chains without any known main tokens are reported in `skippedChains`.
Parse token balances
Accepts the raw hex RPC response obtained by executing the call from `/token/balances/rpc-call` and decodes it into structured token balance data with USD values.
Get available lending assets
Returns the list of assets available for lending on a given chain. Proxied from origin with a long-lived cache (1 hour).
Lending token balances
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.
Token prices by address
Returns per-address USD prices for the given asset addresses on a chain.