{"uid":"cap_ThyS8rwZve-9oRoPt6S5b","slug":"phantom-api-bnb-gas-estimate-7b10dc38","name":"Phantom API — BNB Gas Estimate","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/bnb/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__VvjjOf_Fy_0MHpt1aMXJ","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 required for a transaction on the BNB Smart Chain network","exampleAgentPrompt":"Estimate how much gas it'll take to call this contract on BNB Smart Chain — sending from 0xAbC...123 to 0xDef...456 with data 0x095ea7b3...ffff and a value of 0.","exampleUseCases":[{"title":"Pre-flight check before token swap","prompt":"Before I execute this token swap on BNB Smart Chain, estimate the gas needed — I'm sending from 0xABC...111 to the PancakeSwap router at 0xDEF...222, with the swap calldata 0xa9059cbb... and zero BNB value."},{"title":"Estimate gas for BEP-20 transfer","prompt":"How much gas will it take to transfer BEP-20 tokens on BNB Chain? The sender is 0x111...aaa, recipient is 0x222...bbb, and I'm using the standard ERC20 transfer calldata with no ETH value attached."},{"title":"Smart contract deployment gas check","prompt":"Can you estimate the gas for deploying my smart contract on BNB Smart Chain? From address 0xOwner...999, no 'to' address since it's a deploy, and the bytecode data is 0x608060405234..."}],"resultDescription":"Returns an estimated gas unit amount for the described BNB Smart Chain transaction, helping callers understand the computational cost before broadcasting the transaction.","failureModes":["Invalid or malformed 'to' or 'from' address returns an error","Reverted simulation (e.g. contract throws) may return an execution revert error","Missing required fields may result in a 400-level error","Network congestion or RPC unavailability may cause timeouts","Incorrect 'value' format (non-hex or non-numeric) may cause parsing errors"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call gas estimate for BNB Smart Chain transactions without managing your own RPC infrastructure. Ideal for agents that need to preflight transactions, estimate fees before user confirmation, or simulate smart contract interactions on BSC without broadcasting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:49:38.586Z","isFirstParty":false,"canonicalSlug":"phantom-api-bnb-gas-estimate-7b10dc38"}