curl -X POST https://secureapi.gridlog.io/api/v1/crypto/wallets/balance \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain": "polygon",
"address": "0x1A2B3C4D5E6F..."
}'
{
"chain": "polygon",
"address": "0x1A2B3C4D5E6F...",
"balances": {
"native": {
"symbol": "MATIC",
"balance": "1.5432",
"decimals": 18
},
"tokens": [
{
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"symbol": "USDC",
"balance": "250.00",
"decimals": 6
},
{
"address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
"symbol": "USDT",
"balance": "100.50",
"decimals": 6
}
]
},
"lastUpdated": "2025-03-21T10:00:00.000Z"
}
Get the native and token balances for a wallet address on any supported chain
curl -X POST https://secureapi.gridlog.io/api/v1/crypto/wallets/balance \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain": "polygon",
"address": "0x1A2B3C4D5E6F..."
}'
{
"chain": "polygon",
"address": "0x1A2B3C4D5E6F...",
"balances": {
"native": {
"symbol": "MATIC",
"balance": "1.5432",
"decimals": 18
},
"tokens": [
{
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"symbol": "USDC",
"balance": "250.00",
"decimals": 6
},
{
"address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
"symbol": "USDT",
"balance": "100.50",
"decimals": 6
}
]
},
"lastUpdated": "2025-03-21T10:00:00.000Z"
}
polygon, ethereum, solanacurl -X POST https://secureapi.gridlog.io/api/v1/crypto/wallets/balance \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chain": "polygon",
"address": "0x1A2B3C4D5E6F..."
}'
{
"chain": "polygon",
"address": "0x1A2B3C4D5E6F...",
"balances": {
"native": {
"symbol": "MATIC",
"balance": "1.5432",
"decimals": 18
},
"tokens": [
{
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"symbol": "USDC",
"balance": "250.00",
"decimals": 6
},
{
"address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
"symbol": "USDT",
"balance": "100.50",
"decimals": 6
}
]
},
"lastUpdated": "2025-03-21T10:00:00.000Z"
}
Show balances fields