chain_call
Execute read-only EVM contract calls across supported chains, decode revert reasons, and optionally estimate gas for 0.02 USDC on Base via x402.
Instructions
Read-only EVM contract call with decoded revert reason and optional gas estimate (paid) (costs 0.02 USDC on Base via x402)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Contract to call | |
| data | No | ABI-encoded calldata (0x…); defaults to 0x | |
| from | No | Optional caller address — enables gas estimation | |
| block | No | Block tag (latest/safe/finalized/earliest) or hex block number; default latest | |
| chain | Yes | ||
| value | No | Optional value in wei (hex 0x… or decimal string) | |
| confirmNewPurchase | No | Set true only to intentionally buy an identical completed request again. Never use for retries or accepted/unclear purchases. |