{"uid":"cap_3ukEBzo3Wg864QnRufbPc","slug":"delx-base-estimate-gas-fd1ab547","name":"Delx Base Estimate Gas","description":"eth_estimateGas for a bounded call on Base for $0.001 USDC (max 4KB data).","url":"https://api.delx.ai/api/v1/x402/base-estimate-gas","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"from":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":{},"tool_name":"get_base_estimate_gas"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yzAMnmx7NznMiyCAuvTRD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates the gas required for a bounded Ethereum call on the Base network via eth_estimateGas (max 4KB data payload).","exampleAgentPrompt":"Can you estimate how much gas this contract call will need on Base? The transaction is from 0xAbC...123 to 0xDeF...456 with this calldata: 0xa9059cbb000000000000000000000000...","exampleUseCases":[{"title":"Pre-flight gas check for token transfer","prompt":"Before I send this ERC-20 transfer on Base, can you estimate the gas it'll need? From address is 0x1234...abcd, to the token contract at 0x5678...ef01, calldata is 0xa9059cbb..."},{"title":"Smart contract deployment gas estimate","prompt":"I want to deploy a smart contract on Base — can you estimate how much gas the deployment will consume? Here's the bytecode: 0x6080604052..."},{"title":"DeFi swap simulation on Base","prompt":"Can you run a gas estimate for this Uniswap swap calldata on Base before I submit it? From 0xAAA...111 to the router at 0xBBB...222, data is 0x414bf389..."}],"resultDescription":"Returns an estimated gas unit count (as a hex or integer value) representing how much gas the transaction or contract call would consume on the Base network, based on the current chain state at the time of the call.","failureModes":["Transaction would revert — returns an execution reverted error with reason if available","Payload exceeds 4KB limit — request rejected","Invalid address format — returns validation error","Insufficient balance for value transfer — estimation fails","Network or RPC unavailability — returns 503 or timeout","Malformed transaction object — missing required fields returns 400"],"whenToPreferThis":"Choose this endpoint when you need a quick, affordable gas estimate for a specific transaction or contract call on the Base L2 network without running a full node. It is ideal for agents pre-checking gas before submitting transactions, simulating contract interactions, or dynamically setting gas limits. At $0.001 USDC per call it is cost-effective for frequent pre-flight checks. Prefer it over general Ethereum mainnet estimators when the target chain is specifically Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:07:09.096Z","isFirstParty":false}