{"uid":"cap_i7mpDKK0sv-tE7qrpiSzK","slug":"phantom-api-opbnb-gas-estimator-b57ad900","name":"Phantom API — opBNB 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/opbnb/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_aYWlB_aMQDTzI4NJB5Bi3","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 transactions on the opBNB network given transaction parameters","exampleAgentPrompt":"Before I send a transaction on opBNB to contract 0xAbC...123 with calldata 0xd46e8dd... from my wallet 0x1234...5678, can you estimate how much gas it will use?","exampleUseCases":[{"title":"Pre-flight check for DeFi swap","prompt":"I'm about to call a DEX contract on opBNB from 0xMySenderAddress to 0xDexContractAddress with swap calldata 0xswapData — can you estimate the gas before I submit?"},{"title":"NFT mint gas budgeting","prompt":"What's the estimated gas for minting an NFT on opBNB? The contract is 0xNFTContract, I'm calling from 0xMyWallet, and the mint calldata is 0xmintCalldata."},{"title":"Smart contract deployment cost check","prompt":"Can you estimate gas for deploying a smart contract on opBNB? The bytecode is 0xdeployBytecode and I'm sending from 0xDeployerAddress."}],"resultDescription":"Returns an estimated gas amount (in gas units) for executing the specified transaction on the opBNB network, allowing callers to budget fees before submission.","failureModes":["Invalid or malformed address in 'to' or 'from' field returns an error","Malformed or invalid calldata in 'data' field causes estimation failure","Transaction would revert on-chain causing gas estimation to fail with a revert error","Network congestion or RPC unavailability may cause timeouts","Missing required fields may return a validation error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call gas estimate specifically for the opBNB (BNB Chain L2) network without setting up your own RPC node or managing Web3 infrastructure. Ideal for agents that need lightweight pre-transaction cost checks across opBNB without committing to a full node provider subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:09.262Z","isFirstParty":false}