{"uid":"cap_3WOlaZ7v0ot_lWXumBho2","slug":"phantom-api-bob-gas-estimator-b76de65c","name":"Phantom API — BOB 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/bob/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_Tnvb7-rKIpd37Ex08TFWw","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 cost for a transaction on the BOB (Build on Bitcoin) blockchain network","exampleAgentPrompt":"Can you estimate how much gas it would cost to send a transaction on the BOB network from address 0xAbC...123 to 0xDef...456 with a value of 0.01 ETH and this calldata: 0xa9059cbb...?","exampleUseCases":[{"title":"Pre-flight gas check for DeFi swap","prompt":"Before I submit this swap transaction on BOB, estimate the gas cost — sending from 0xAbC...1234 to the router at 0xDef...5678 with calldata 0x7ff36ab5... and value 0.05 ETH."},{"title":"Smart contract deployment cost preview","prompt":"I want to know roughly how much gas it'll take to deploy my smart contract on BOB — from address 0x111...aaa with this bytecode as the data field: 0x608060405234..."},{"title":"NFT mint gas estimation","prompt":"Can you estimate the gas needed to mint an NFT on BOB? The from address is 0xUser...abc, the contract is 0xNFT...xyz, and the mint function calldata is 0x1249c58b."}],"resultDescription":"Returns an estimated gas amount (in gas units) required to execute the specified transaction on the BOB network, allowing callers to budget transaction fees before submission.","failureModes":["Invalid or malformed address in 'to' or 'from' fields returns an error","Malformed hex data in 'data' field causes parsing failure","Transaction simulation reverts if the contract call is invalid or would fail on-chain","Network connectivity issues to BOB RPC nodes may cause timeouts","Missing required fields may return a 400 bad request error","Payment failure (insufficient USDC) returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a gas estimate specifically for the BOB (Build on Bitcoin) Layer 2 network and want pay-per-call pricing via x402 without a subscription. Ideal for agents that occasionally need gas estimates across multiple chains and want to avoid maintaining RPC infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:25.792Z","isFirstParty":false,"canonicalSlug":"phantom-api-bob-gas-estimator-b76de65c"}