chain_estimate_gas
$0.09 via x402: estimate the gas a transaction will use (eth_estimateGas) across 6 chains — the pre-send read tx-building, trading and settlement agents make to size gas and avoid out-of-gas reverts. Pass to (+ optional from/value/data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient/contract address 0x... | |
| data | No | Calldata 0x... | |
| from | No | ||
| chain | No | base|ethereum|optimism|arbitrum|polygon|gnosis (default base) | |
| value | No | Wei (hex or decimal) | |
| x_payment | No |