Api Endpoint

Estimate gas

Use when an agent is about to sign a transaction and must know whether it will fail and what it will cost: the gas this exact call needs, the current gas price, the cost in ether, and wouldRevert, which says the transaction would fail before you spend anything finding out. Do not use for the price of a plain transfer (/v1/evm/gas) or for EIP-1559 caps (/v1/evm/fees). No API key, no account.

Open interactive test console

Offering

Provider
flat-rate-llm.kikoribera03.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/estimate-gas
MIME type
Not provided
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
estimate gas, gas estimate, simulate, revert check, Gas, simulation, EVM, Base, Ethereum, Polygon, Arbitrum, optimism

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff"
  }
]

Observed health

Status
Healthy
Latest latency
373 ms
Average latency
854 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "to": {
          "type": "string",
          "description": "Destination address."
        },
        "from": {
          "type": "string",
          "description": "Sender address."
        },
        "data": {
          "type": "string",
          "description": "Optional 0x calldata."
        },
        "value": {
          "type": "string",
          "description": "Optional value in wei, as a decimal string."
        },
        "chain": {
          "type": "string",
          "description": "base | ethereum | polygon | arbitrum | optimism."
        }
      },
      "required": [
        "to"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "chain": {
              "description": "base | ethereum | polygon | arbitrum | optimism.",
              "type": "string"
            },
            "data": {
              "description": "Optional 0x calldata.",
              "type": "string"
            },
            "from": {
              "description": "Sender address.",
              "type": "string"
            },
            "to": {
              "description": "Destination address.",
              "type": "string"
            },
            "value": {
              "description": "Optional value in wei, as a decimal string.",
              "type": "string"
            }
          },
          "required": [
            "to"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}