x420_chain_gas-estimate
Base gas estimate: Current Base mainnet gas price, EIP-1559 fee estimate and base fee, reference costs for an ETH transfer and a typical ERC-20 transfer, and optionally an estimateGas for a call you describe (to, value, data). Source: Base mainnet RPC. L1 data fee not included. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.02 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: gas_price_gwei, max_fee_per_gas_gwei, base_fee_gwei, reference{eth_transfer, erc20_transfer_typical}, requested{estimate}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x420_chain_gas-estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | destination address to estimate a call against (default: none) | |
| data | No | 0x calldata for the estimate (default: none) | |
| from | No | sender address for the estimate (default: none) | |
| value_eth | No | ETH value for the estimate (default 0) |