Loading capabilities…
Loading capability…
Fetch an ERC20 token balance for a wallet through OneSource live Ethereum RPC.
Both commands call the selected provider directly.
curl '/routes/onesource/crypto/token-balance?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&contract=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&network=ethereum'
h402 call 'crypto/token-balance' --provider 'onesource' --method GET --query '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","contract":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","network":"ethereum"}'Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.
addressstringrequiredWallet address whose ERC20 balance should be read.
contractstringrequiredERC20 token contract address.
networkstringoptionaldefault ethereumOneSource-supported Ethereum network.
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"network": "ethereum"
}{ "data": { "data": { "account": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "contract_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "balance": "37192124", "symbol": "USDC", "name": "USD Coin", "decimals": 6 }, "meta": { "endpoint": "/api/chain/erc20-balance", "request_id": "5ba8f31cd2028dfd" } }, "h402": { "routeId": "crypto/token-balance", "provider": "onesource", "selectedCandidateId": "crypto/token-balance/onesource", "routing": "manual", "paidBy": "x402-exact" } }
Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.