Read any smart contract function (eth_call) on Base, Ethereum and 5 more chains
evm_callRead any smart contract function (eth_call) on Base, Ethereum and 5 more chains. Calls a view function by its signature, e.g. sig=balanceOf(address)&args=0x...&returns=uint256, on Base, Ethereum, Arbitrum, BSC, Polygon, Optimism or Avalanche. Arguments: address, bool, bytes32, uintN, intN. Return types: those plus string and bytes (comma-separated for several static values). Returns raw hex and decoded values. Not cached. Price $0.005 per call (x402: USDC on Base or Solana).
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": {
"to": "<to>",
"sig": "<sig>"
},
"name": "evm_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Contract address | |
| tx | No | Alternative to the X-Payment-Tx header | |
| sig | Yes | ||
| args | No | Comma-separated argument values | |
| block | No | latest | |
| chain | No | One of ethereum, base, arbitrum, bsc, polygon, optimism, avalanche | base |
| returns | No | Comma-separated return types, e.g. uint256 or string |