Give the machine one analysis chain and one destination address, optionally a sender, calldata, and value. After payment it returns point-in-time eth_estimateGas units and a fixed recent eth_feeHistory sample. It does not sign, submit, recommend a max fee, or guarantee the final cost.
PURPOSE
Plain-English job
Agents often need gas units and recent execution-fee context before they sign or submit an Ethereum or Base transaction. This machine estimates the supplied unsigned facts and reports a bounded fee-history sample. Analysis chain does not change the payment chain: payment remains Base USDC via x402.
WHEN TO CALL
Job-shaped selection
Call when you need point-in-time gas units and recent execution-fee context before signing or submitting an Ethereum or Base transaction. Not transaction execution, signing, wallet/custody, trading, approval, simulation-as-guarantee, or financial advice. Sibling first-party machines are listed on GET /v1/catalog.
INPUT
Exact JSON object
Required chain (eip155:1 or eip155:8453) and to (0x-prefixed 20-byte address). Optional from, data (0x even-length hex, default 0x, max 8192 bytes), and value_wei (unsigned base-10 integer string, default 0). Request body max 20480 bytes. Nonce, gas controls, access lists, state overrides, keys, signatures, and arbitrary RPC URLs are rejected before payment.
Status is OK, PARTIAL when gas units are observed but fee history is unavailable, UNESTIMABLE when the transaction cannot be estimated under current state, or HOLD for infrastructure failure. Illustrative execution-fee figures are observations, not a recommended max fee. Base arithmetic covers L2 execution only and is not a total transaction cost.
HOW DATA IS PROCESSED
Terms-relevant facts
AFTER SETTLEMENTAlchemy is called only after successful x402 settlement. At most one eth_estimateGas and one eth_feeHistory.
FIXED HOSTSEthereum uses eth-mainnet.g.alchemy.com. Base uses base-mainnet.g.alchemy.com. No buyer-selected RPC.
FIXED FEE HISTORY5 most recent blocks, latest, reward percentiles 10 / 50 / 90. Not buyer-configurable.
NO EXECUTIONThe machine never signs or submits a transaction. to is required; contract creation is unsupported.
NO ADVICEDerived values are illustrative execution-cost observations. They are not a safe gas price or guaranteed final cost.
LIMITATIONS
Known bounds
POINT IN TIMEActual gas used and fees can differ with state and fee-market changes.
BASE L1 FEEBase results exclude the separate L1 security/data fee and must not be labeled total transaction cost.
UNESTIMABLEA revert or cannot-estimate JSON-RPC result is persisted after payment. There is no automatic retry or second charge.
AVAILABLEVM06 is a bounded pay-per-call product. This page does not start a payment.
CONTRACT
Intended routes
Public API origin:
POST https://api.agentmercantile.com/v1/transaction-gas-preflight