Gas estimate and fee quote for Base, Ethereum, Optimism, Arbitrum and Polygon
Gas estimate and fee quote for Base, Ethereum, Optimism, Arbitrum and Polygon: eth_estimateGas for your transaction (to, from, value, data) or a plain transfer if no 'to', current base fee, slow/standard/fast priority tips from recent blocks, max fee suggestions, L1 data fee on OP-stack chains and total cost in native coin and USD (Chainlink price). Reports reverts instead of failing. Use before signing or to budget agent transactions.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agent-tools.jbarkules.workers.dev/v1/chain/gas
| Category | Market data |
|---|---|
| Provider host | agent-tools.jbarkules.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"chain": "base",
"data": "0x70a082310000000000000000000000000dea0030a17bf886543a757c55924710258c2eec",
"from": "0x0dEA0030A17BF886543a757c55924710258c2eec",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"chain": {
"description": "Chain, default base",
"enum": [
"base",
"ethereum",
"optimism",
"arbitrum",
"polygon"
],
"type": "string"
},
"data": {
"description": "Optional. 0x calldata",
"type": "string"
},
"from": {
"description": "Optional. Sender address",
"type": "string"
},
"to": {
"description": "Optional. Target address; omit for a plain native transfer quote",
"type": "string"
},
"value": {
"description": "Optional. Value in wei",
"type": "string"
}
},
"required": [],
"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"
}