chain_state
Read wallet or contract state on 5 EVM chains—Base, Ethereum, Arbitrum, Optimism, Polygon—to check native balance, nonce, account type, and ERC-20 token balances. Pay 0.05 USDC on Base via x402.
Instructions
Wallet/contract state on 5 EVM chains: native balance, nonce, EOA/contract, ERC-20 balances (paid) (costs 0.05 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": {
"chain": "<chain>",
"address": "<address>"
},
"name": "chain_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| tokens | No | Optional ERC-20 contract addresses to read balances for (max 10) | |
| address | Yes | Wallet or contract address | |
| confirmNewPurchase | No | Set true only to intentionally buy an identical completed request again. Never use for retries or accepted/unclear purchases. |