Marketplace · API · x402

agent402.tools/api/gas-estimate

Current gas price on Base, Polygon, Arbitrum, Optimism, Ethereum, Monad, Celo, Avalanche, Sei, Arc, or Robinhood Chain - for an agent budgeting a transaction: returns network, gasPriceGwei and gasPriceWei (decimal strings) from the chain's own eth_gasPrice, the node's suggested all-in price per gas unit. Multiply by the gas a transaction uses (21000 for a plain transfer) for its fee. Read-only.

Endpointhttps://agent402.tools/api/gas-estimate
Trust✓ Verified callable · 100% uptime over 1 checks · ~153 ms
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
methodGET
last updated2026-11-05T18:42:44.537Z

Use it

Call it (an x402 client pays automatically)

curl -i https://agent402.tools/api/gas-estimate
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-dd0dbeb7919148e5

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}