cURL
curl --request POST \ --url https://api.allium.so/api/v1/developer/wallet/balances \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '[ { "chain": "<string>", "address": "<string>" } ]'
{ "items": [ { "chain": "<string>", "address": "<string>", "token": { "object": "<string>", "chain": "<string>", "address": "<string>", "type": "native", "price": 123, "decimals": 123, "info": { "name": "<string>", "symbol": "<string>" }, "attributes": { "total_liquidity_usd": 123, "price_diff_1d": 123, "price_diff_pct_1d": 123 } }, "raw_balance": 123, "block_timestamp": "2023-11-07T05:31:56Z", "block_number": 123, "block_hash": "<string>" } ], "cursor": "<string>" }
Get the latest balances for a list of wallets.
If true, returns total_liquidity_usd as well. See this page for more details.
List of wallet chain+address pairs to get balances for.
Successful Response
The response is of type object.
object
Was this page helpful?