Base · Estimate Gas
Gas estimate for a Base mainnet swap or any other call (to/from/value/data) via eth_estimateGas, without broadcasting a transaction.
POST https://x402.agentindex.world/base/estimate-gas
0.004 USDC on Base · payTo 0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"from_address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
"to": "0xdb6882db2A406Bc1541988715842906Dfd4FD590",
"value_wei": 0
}{
"from_address": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
"gas_estimate": 21000,
"to": "0xdb6882db2A406Bc1541988715842906Dfd4FD590",
"value_wei": 0
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 55 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 4502 ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
POST https://x402.agentindex.world/base/estimate-gas · input in body · spec from live-challenge
Input schema
{
"properties": {
"to": {
"title": "To",
"type": "string"
},
"from_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "From Address"
},
"value_wei": {
"default": 0,
"title": "Value Wei",
"type": "integer"
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data"
}
},
"required": [
"to"
],
"title": "EstimateGasInput",
"type": "object"
}Output schema
{
"type": "object",
"properties": {
"to": {
"title": "To",
"type": "string"
},
"from_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "From Address"
},
"value_wei": {
"title": "Value Wei",
"type": "integer"
},
"gas_estimate": {
"title": "Gas Estimate",
"type": "integer"
}
},
"required": [
"to",
"from_address",
"value_wei",
"gas_estimate"
],
"title": "EstimateGasOutput"
}curl -i -X POST 'https://x402.agentindex.world/base/estimate-gas' \
-H 'content-type: application/json' -d '{"to":"0xdb6882db2A406Bc1541988715842906Dfd4FD590","from_address":"0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d","value_wei":0}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs