{"uid":"cap_iGvG6cWawAilaBo4eVNU5","slug":"phantom-api-metis-gas-estimator-b0c90ff5","name":"Phantom API — Metis 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/metis/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_6yVEVBXBr1TxuZDXCFvLN","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 Metis blockchain network given recipient, sender, value, and calldata.","exampleAgentPrompt":"Can you estimate how much gas it'll cost to call this Metis contract — I'm sending from 0xAbC...123 to 0xDeF...456 with no ETH value and this calldata: 0xa9059cbb000...?","exampleUseCases":[{"title":"Pre-flight check before token transfer","prompt":"Before I send 100 METIS tokens from my wallet 0xSender... to 0xRecipient... on Metis, can you estimate the gas so I know the total cost?"},{"title":"Smart contract interaction cost check","prompt":"I want to call this Metis DeFi contract at 0xContractAddr... using calldata 0xabcdef... from my wallet 0xMyWallet... — what's the estimated gas going to be?"},{"title":"Gas budget planning for dApp","prompt":"I'm building a dApp and need to know the gas estimate for a typical ERC-20 transfer on Metis from 0xFrom... to 0xTo... with standard transfer calldata — can you run that estimate for me?"}],"resultDescription":"Returns an estimated gas amount (in gas units) required to execute the specified transaction on the Metis blockchain, allowing the caller to calculate transaction fees before submission.","failureModes":["Invalid or malformed Ethereum address in 'to' or 'from' fields returns an error","Malformed or invalid hex calldata in 'data' field causes rejection","Transaction would revert on-chain, causing gas estimation to fail","Network unavailability or RPC node errors return a 5xx response","Missing required fields may return a validation error","Payment not included or insufficient USDC causes 402 payment required response"],"whenToPreferThis":"Use this endpoint when you need a gas estimate specifically for the Metis network (an EVM-compatible Layer 2). Prefer this over generic gas oracles when you need transaction-specific estimates based on actual calldata and addresses, or when you want pay-per-call pricing without a subscription. Best suited for agents that need to preflight transactions, plan gas budgets, or validate contract call costs on Metis before committing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:29.625Z","isFirstParty":false}