{"uid":"cap_X0WMYP4PvBYfVfrCJLf4K","slug":"logicnodes-gas-estimate-c4f85e3f","name":"LogicNodes Gas Estimate","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/gas_estimate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":["string","number"],"description":"CAIP-2 chain id such as eip155:8453 (Base) or aptos:1; a bare EVM chain id number also works. Chain names like \"base\" are refused."},"confidenceLevels":{"type":"array","items":{"type":"integer","maximum":99,"minimum":1},"maxItems":12,"minItems":1,"description":"EVM only"}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"gas_estimate"}},"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_Kom8wq04egB4DQliRM7Pm","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":"Returns current gas price estimates for a specified EVM or Aptos chain at one or more confidence levels","exampleAgentPrompt":"What's the current gas estimate on Base (eip155:8453) at the 50th and 95th confidence levels?","exampleUseCases":[{"title":"Pre-flight gas check for DeFi transaction","prompt":"Before I submit this swap on Arbitrum (eip155:42161), what are the gas prices at the 50th and 90th confidence levels so I can pick the right fee?"},{"title":"Multi-chain gas dashboard","prompt":"Give me current gas estimates for Ethereum (eip155:1), Base (eip155:8453), and Optimism (eip155:10) at the 75th confidence level so I can decide which chain is cheapest right now."},{"title":"Reliable NFT mint gas setting","prompt":"I want to mint an NFT on Polygon (eip155:137) and need a gas price that gives me 99% confidence it'll confirm quickly — what should I set?"}],"resultDescription":"A JSON object with ok:true, the tool name, and gas price data for the requested chain broken down by the requested confidence level percentiles. For EVM chains, this includes per-percentile gas prices (e.g. base fee, priority fee) reflecting real-time network conditions. The response is structured and machine-readable, suitable for direct use in transaction construction.","failureModes":["Chain ID provided as a name (e.g. 'base') rather than CAIP-2 or numeric format — API refuses and returns an error","Unsupported chain ID — only 14 supported chains are available","Confidence level out of range (must be 1–99 integer) — validation error returned","More than 12 confidence levels requested — exceeds maxItems limit","Payment not attached or insufficient USDC — 402 payment required response","Malformed request body — 400 bad request"],"whenToPreferThis":"Use this endpoint when an AI agent needs exact, real-time gas price data for EVM-compatible chains or Aptos before constructing or submitting a transaction. It is especially valuable when confidence-level breakdowns are needed to tune transaction fees for speed vs. cost trade-offs. Prefer it over generic RPC calls or web scraping when you need a structured, reliable, AI-agent-friendly response with multi-chain support in a single API call. The pay-per-call USDC model (x402) makes it suitable for agents that need to avoid subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:31:29.110Z","isFirstParty":false,"canonicalSlug":"logicnodes-gas-estimate-c4f85e3f"}