{"uid":"cap_O9bgaqSGRMZM3yRGZ-e60","slug":"phantom-api-katana-gas-estimator-8bfd8c6c","name":"Phantom API — Katana 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/katana/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_qublIn4KQNwXXGBH-2-BG","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 costs for a transaction on the Katana network before submission","exampleAgentPrompt":"Before I send this contract call, estimate the gas cost on the Katana network — the transaction is from 0xAbC123... to 0xDef456..., with calldata 0xa9059cbb... and value 0.","exampleUseCases":[{"title":"Pre-flight gas check for DeFi swap","prompt":"I'm about to execute a token swap on Katana — can you estimate the gas cost first? From address is 0xUser123..., to is the DEX contract 0xRouter..., and the calldata is 0x38ed1739..."},{"title":"Smart contract deployment cost preview","prompt":"I want to know how much gas it'll cost to deploy this contract on Katana before I commit — from 0xDev000..., no 'to' address since it's a deployment, and here's the bytecode as the data field: 0x6060604..."},{"title":"Safe transfer gas estimation for treasury","prompt":"Estimate the gas for sending 1 ETH from our treasury wallet 0xTreasury... to 0xRecipient... on Katana, value is 1000000000000000000 wei."}],"resultDescription":"Returns a gas estimate (likely in gas units or as a fee in native token) for the described transaction on the Katana network, allowing the caller to budget, set gas limits, or decide whether to proceed before committing to an on-chain transaction.","failureModes":["Invalid or malformed address in 'to' or 'from' fields returns an error","Malformed or non-hex 'data' field may cause parsing failure","Network unavailability or Katana RPC issues may result in timeout or 503","Insufficient request body (missing required fields) may return 400 Bad Request","Payment not included or insufficient USDC may result in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call gas estimate for transactions specifically on the Katana network without provisioning your own RPC node or managing blockchain infrastructure. Ideal for agents that need to pre-check transaction costs before execution, set gas limits programmatically, or surface fee estimates to users in a lightweight, serverless manner.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:54:45.980Z","isFirstParty":false,"canonicalSlug":"phantom-api-katana-gas-estimator-8bfd8c6c"}