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.001 per call (x402: USDC on Base or Solana).
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 |