curl --request GET \
--url https://api.caminotreasury.com/v1/{chainId}/balances/{address} \
--header 'x-api-key: <api-key>'{
"data": [
{
"token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"name": "USDC",
"symbol": "USDC",
"raw": "1000000000",
"decimals": 6
}
],
"count": 123
}Returns all token balances for a specific wallet address on a chain. Uses multicall to batch ERC-20 balanceOf queries.
curl --request GET \
--url https://api.caminotreasury.com/v1/{chainId}/balances/{address} \
--header 'x-api-key: <api-key>'{
"data": [
{
"token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"name": "USDC",
"symbol": "USDC",
"raw": "1000000000",
"decimals": 6
}
],
"count": 123
}API key for authentication. Pass your key in the x-api-key header.
Blockchain chain ID
Ethereum wallet address
^0x[a-fA-F0-9]{40}$