Use when an agent is about to sign a transaction and must know whether it will f
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.
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
POST https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/estimate-gas
| Category | Market data |
|---|---|
| Provider host | flat-rate-llm.kikoribera03.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 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)
{
"body": {
"chain": "base",
"data": "0x18160ddd",
"from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"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"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}