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,
"total_supply": 123,
"total_market_cap_usd": 123,
"volume_1h": 123,
"volume_24h": 123,
"volume_usd_1h": 123,
"volume_usd_24h": 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.
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,
"total_supply": 123,
"total_market_cap_usd": 123,
"volume_1h": 123,
"volume_24h": 123,
"volume_usd_1h": 123,
"volume_usd_24h": 123
}
},
"raw_balance": 123,
"block_timestamp": "2023-11-07T05:31:56Z",
"block_number": 123,
"block_hash": "<string>"
}
],
"cursor": "<string>"
}
List of wallet chain+address pairs to get balances for.
Successful Response
The response is of type object
.
Was this page helpful?