{"uid":"cap_SoVKxtCuAjoIaSaH8OK-k","slug":"phantom-api-gnosis-chain-gas-estimator-59cfd2a9","name":"Phantom API — Gnosis Chain Gas Estimator","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/gnosis/gas/estimate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"from":{"type":"string"},"value":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6hYMGQUrszbvFsrYJHYK8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates the gas cost for a transaction on the Gnosis blockchain network before it is submitted","exampleAgentPrompt":"Before I send this contract interaction on Gnosis chain — from 0xABC...123 to 0xDEF...456 with calldata 0x12345678 and value 0 — can you estimate the gas it would use?","exampleUseCases":[{"title":"Pre-flight gas check for DeFi swap","prompt":"I want to call a swap function on a Gnosis DEX smart contract — from my wallet 0xABC...111 to the contract at 0xDEF...222 with this calldata 0xa9059cbb000... and no ETH value. Can you estimate the gas before I submit?"},{"title":"Budget estimation for bulk NFT minting","prompt":"I'm planning to mint an NFT on Gnosis chain from address 0x111...AAA to the contract 0x222...BBB with this mint calldata 0x40c10f19... — estimate the gas so I can plan my fees budget."},{"title":"Validate contract call feasibility","prompt":"Check if this Gnosis transaction would likely succeed and how much gas it needs — sender is 0xFFF...000, contract is 0xEEE...999, calldata is 0x6a627842..., value is 0."}],"resultDescription":"Returns a gas estimate (in gas units) for the described transaction on the Gnosis network, allowing the caller to assess transaction cost and feasibility before committing it on-chain.","failureModes":["Invalid or malformed address in 'to' or 'from' fields returns an error","Malformed or non-hex calldata in 'data' field causes a parsing error","Transaction would revert on-chain, causing the estimate to fail with a revert reason","Network connectivity issues with Gnosis RPC result in a timeout or unavailable error","Missing required fields may result in a 400 bad request"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call gas estimate specifically on the Gnosis chain (xDAI) without committing a full RPC node subscription. Prefer it over generic Ethereum gas estimators when targeting Gnosis-specific transactions, and over manual eth_estimateGas calls when you want a simple HTTP API abstraction with no node infrastructure required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:55:28.367Z","isFirstParty":false,"canonicalSlug":"phantom-api-gnosis-chain-gas-estimator-59cfd2a9"}