Estimate gas, Base
Estimate gas, Base. Estimate the gas a transaction would use on Base (eth_estimateGas) and what it would cost at the current gas price, in gas units, gwei and ETH. Give to, plus value in ETH and calldata for a contract call, and the sender when the call depends on it. Use before sending a transaction or to price a batch; for the gas price alone use base_gas. A transaction that would revert is 422 with the reason, uncharged.
Offering
- Provider
- agent-data-tools.revmesh2074.workers.dev
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agent-data-tools.revmesh2074.workers.dev/base/estimate-gas- MIME type
- application/json
- First seen
- 2026-10-25T21:43:32.897Z
- Last seen
- Tags
- estimate-gas, gas-estimate, Base, Gas, Fees
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact - Payment option 3
- 0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact - Payment option 4
- 0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
},
{
"scheme": "exact",
"network": "eip155:137",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "2000",
"payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
},
{
"scheme": "exact",
"network": "eip155:42161",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "2000",
"payTo": "0x6293ded2684F1A76E26bEcef87c137D691Fbf800"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"payTo": "82wfSCZhCmZA7zwqqt6Q3FG8nqYBwUvbThP6M97fa9Q6"
}
]Observed health
- Status
- Healthy
- Latest latency
- 1270 ms
- Average latency
- 590 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": "0x recipient or contract address",
"pattern": "^0x[0-9a-fA-F]{40}$",
"examples": [
"0x000000000000000000000000000000000000dEaD"
]
},
"from": {
"type": "string",
"description": "0x sender address (default: an empty address)",
"pattern": "^0x[0-9a-fA-F]{40}$",
"examples": [
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
]
},
"value": {
"type": "string",
"description": "Amount of ETH to send, in ETH (default 0)",
"examples": [
"0"
]
},
"data": {
"type": "string",
"description": "Optional 0x calldata for a contract call",
"examples": [
"0x"
]
}
},
"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": {
"data": {
"description": "Optional 0x calldata for a contract call",
"examples": [
"0x"
],
"type": "string"
},
"from": {
"description": "0x sender address (default: an empty address)",
"examples": [
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"to": {
"description": "0x recipient or contract address",
"examples": [
"0x000000000000000000000000000000000000dEaD"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"value": {
"description": "Amount of ETH to send, in ETH (default 0)",
"examples": [
"0"
],
"type": "string"
}
},
"required": [
"to"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"block": {
"type": "number"
},
"chain": {
"type": "string"
},
"chainId": {
"type": "number"
},
"cost": {
"type": "string"
},
"from": {
"type": "string"
},
"gas": {
"type": "string"
},
"gasPriceGwei": {
"type": "string"
},
"symbol": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}