{"uid":"cap_rgtcMgxUAjChcMn49uW21","slug":"phantom-api-celo-gas-estimator-98e379dc","name":"Phantom API — Celo 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/celo/gas/estimate","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_HCQFuFHnnt6sCUnVXuxdY","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 gas cost for a transaction on the Celo blockchain network before submission","exampleAgentPrompt":"Before I submit this transaction on Celo, can you estimate how much gas it'll use? The sender is 0xAbC...123, the recipient is 0xDeF...456, and the calldata is 0xa9059cbb...","exampleUseCases":[{"title":"Pre-flight smart contract call check","prompt":"I'm about to call a smart contract on Celo — sender 0xAbC...111, contract address 0xDeF...222, calldata 0xa9059cbb000...0064. Can you estimate the gas before I actually send it?"},{"title":"CELO token transfer cost preview","prompt":"How much gas would a plain CELO transfer use? From 0x111...aaa to 0x222...bbb with a value of 1000000000000000000 wei and no calldata."},{"title":"DApp transaction cost budgeting","prompt":"My DApp needs to know the gas cost for this batch calldata on Celo before showing users a fee estimate — from 0xApp...wallet, to 0xContract...addr, data 0x1234abcd. What's the gas estimate?"}],"resultDescription":"Returns a gas estimate (in gas units) for the described Celo transaction, allowing callers to anticipate fees before broadcasting the transaction on-chain.","failureModes":["Invalid or malformed address in 'to' or 'from' fields returns an error","Reverted simulation (e.g. contract call would fail) may return an error or revert message","Missing required fields may result in a 400 bad request","Network unavailability or RPC node issues may cause 5xx errors","Incorrect calldata encoding may yield inaccurate estimates"],"whenToPreferThis":"Use this endpoint when you need a gas estimate specifically on the Celo network before submitting a transaction, especially when cost predictability matters or when building user-facing fee previews in a Celo DApp. Prefer this over generic Ethereum gas estimators when your target chain is Celo.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:01.871Z","isFirstParty":false}