Gas estimate for a Base mainnet swap or any other call (to/from/value/data) via
Gas estimate for a Base mainnet swap or any other call (to/from/value/data) via eth_estimateGas, without broadcasting a transaction.
Not tested: has real-world effectsour last check, 2026-10-10
0 of 0checks answered this week
n/amedian answer time
$0.004listed price per call
n/aprice it asked us
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://x402.agentindex.world/base/estimate-gas
| Category | Everything else |
|---|---|
| Provider host | x402.agentindex.world |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 3 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": {
"from_address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
"to": "0xdb6882db2A406Bc1541988715842906Dfd4FD590",
"value_wei": 0
},
"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": {
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data"
},
"from_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "From Address"
},
"to": {
"title": "To",
"type": "string"
},
"value_wei": {
"default": 0,
"title": "Value Wei",
"type": "integer"
}
},
"required": [
"to"
],
"title": "EstimateGasInput",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"from_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "From Address"
},
"gas_estimate": {
"title": "Gas Estimate",
"type": "integer"
},
"to": {
"title": "To",
"type": "string"
},
"value_wei": {
"title": "Value Wei",
"type": "integer"
}
},
"required": [
"to",
"from_address",
"value_wei",
"gas_estimate"
],
"title": "EstimateGasOutput",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}