{"uid":"cap_5Y-szC1umgWvcbyI1KJJ7","slug":"phantom-api-zora-gas-estimator-811bdf10","name":"Phantom API — Zora 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/zora/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_Nv_YjDcELaZW09Pb3yGxZ","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 Zora network before it is submitted on-chain","exampleAgentPrompt":"Before I mint this NFT on Zora, estimate the gas cost for a transaction from 0xAbC...123 to the contract at 0xDef...456 with calldata 0xa0712d68... and no ETH value attached.","exampleUseCases":[{"title":"Pre-mint gas check for Zora NFT","prompt":"Can you estimate the gas cost for minting a Zora NFT before I actually send the transaction? The sender is 0x1234...abcd, the contract is 0x5678...ef01, and the calldata is 0xa0712d680000000000000000000000000000000000000000000000000000000000000001 with zero ETH value."},{"title":"Smart contract call cost simulation","prompt":"I want to call a smart contract on Zora — estimate the gas fees first. The call goes from 0xAAA...111 to contract 0xBBB...222 with data 0x38d52e0f and no value sent."},{"title":"Budget planning for on-chain batch operation","prompt":"I'm planning to send multiple transactions on Zora and need to budget gas. Estimate the cost for a transaction from 0xDEAD...BEEF to 0xCAFE...BABE with calldata 0x23b872dd... and 0 ETH value so I know what to expect."}],"resultDescription":"Returns a gas estimate (in gas units) for the described Zora network transaction, allowing callers to predict transaction cost and avoid failed transactions due to insufficient gas before submission.","failureModes":["Invalid or malformed address in 'to' or 'from' fields returns an error","Malformed or invalid calldata in 'data' field causes estimation failure","Transaction would revert on-chain causes the estimation to fail with a revert error","Network congestion or RPC node issues may cause timeouts","Missing required fields may return a validation error"],"whenToPreferThis":"Use this endpoint when you specifically need gas estimation on the Zora network before submitting a transaction. It is ideal for pre-flight checks before NFT mints, contract interactions, or any on-chain operation on Zora where you want to avoid overpaying or running out of gas. Prefer this over general Ethereum gas estimators when targeting Zora specifically, as Zora's L2 fee model differs from mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:07.425Z","isFirstParty":false}