Optimism wallet balances
optimism_wallet_balancesNative ETH balance of a OP Mainnet wallet plus the balances of up to 20 ERC-20 tokens you list, formatted with each token's symbol and decimals, read live from OP Mainnet. Costs $0.005 USDC on Base via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "optimism_wallet_balances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | No | Comma-separated ERC-20 contract addresses on OP Mainnet, up to 20 | |
| address | Yes | Wallet address on OP Mainnet |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | string, e.g. "optimism" | |
| tokens | No | array | |
| address | No | string, e.g. "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" | |
| nativeSymbol | No | string, e.g. "ETH" | |
| nativeBalance | No | string, e.g. "0.181079591875347535" |