Read the result of a read-only EVM contract function
evm_callRead-only contract call (eth_call): decodes the return value of a function you name, e.g. balanceOf(address) returns (uint256). Nothing is signed or sent. A function whose name reads like a write (transfer, approve, mint, set...) is refused unless it is declared view or pure. Related tools on this server, for a different need: evm_balance when you need ERC-20 balance of an address for one token contract; evm_contract when you need to check whether an EVM contract is verified and its ABI. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": {
"contract": "<contract>",
"function": "<function>"
},
"name": "evm_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | JSON array of arguments, e.g. ["0xd8dA…"] | |
| chain | No | base (default), ethereum, arbitrum, optimism or polygon | |
| contract | Yes | Contract address, 0x… | |
| function | Yes | Human-readable signature, e.g. balanceOf(address) returns (uint256) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| chain | No | ||
| result | No | ||
| source | No | ||
| outputs | No | ||
| contract | No | ||
| function | No | ||
| checkedAt | No | ||
| disclaimer | No |