{"uid":"cap_EreZrMhgXK2xks5Cyv2yZ","slug":"phantom-api-abstract-network-gas-estimator-7323580b","name":"Phantom API — Abstract Network 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/abstract/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_9sMuTvdudZJ7uvPNOOhps","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 Abstract blockchain network given sender, recipient, calldata, and value.","exampleAgentPrompt":"Before I send this transaction on Abstract, estimate the gas cost — it's from 0xAbcD...1234, going to contract 0x5678...EfGh, with calldata 0xa9059cbb...0000 and a value of 0.","exampleUseCases":[{"title":"Pre-flight gas check for token transfer","prompt":"I'm about to transfer tokens on the Abstract network from 0xSenderAddress to 0xRecipientAddress with this calldata 0xa9059cbb000... and zero ETH value — can you estimate the gas cost before I send it?"},{"title":"Smart contract interaction cost estimate","prompt":"I want to call a smart contract on Abstract — the contract is at 0xContractAddress, my wallet is 0xMyWallet, the calldata is 0x095ea7b3..., and I'm not sending any ETH. What's the estimated gas fee?"},{"title":"DeFi swap gas estimation before execution","prompt":"Before I execute a swap on Abstract, tell me how much gas it'll cost — from address 0xTraderWallet, to the DEX router at 0xRouterAddress, with swap calldata 0x38ed1739... and value 0."}],"resultDescription":"Returns an estimated gas amount (in gas units) needed to execute the specified transaction on the Abstract network, allowing the caller to anticipate fees before broadcasting.","failureModes":["Invalid or malformed Ethereum address in 'to' or 'from' fields returns an error","Malformed or non-hex 'data' calldata field causes a parsing error","Network unavailability or RPC node failure may result in a timeout or 503 error","Transactions that would revert on-chain may return an execution-reverted error rather than a gas estimate","Missing required fields may cause a 400 Bad Request","Payment failure (insufficient USDC) results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call gas estimate specifically for the Abstract EVM-compatible network without managing your own RPC infrastructure. Prefer it over generic Ethereum gas estimators when the target chain is Abstract, and when you want simple REST access without setting up a full Web3 provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:07:20.706Z","isFirstParty":false}