{"uid":"cap_j_1PwCygbw7yCwA-iWAyC","slug":"phantom-api-sui-gas-estimation-ff64efde","name":"Phantom API — SUI Gas Estimation","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/sui/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_oZ9zaRwnQDqZuWAxd1M_6","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 fees for a transaction on the SUI blockchain before submission","exampleAgentPrompt":"Before I send this SUI transaction from 0xabc123... to 0xdef456... with data 0x1234abcd, can you estimate how much gas it will cost?","exampleUseCases":[{"title":"Pre-flight SUI transfer cost check","prompt":"I'm about to send 10 SUI from my wallet 0xabc123 to 0xdef456 — can you estimate the gas fee so I know the total cost before I confirm?"},{"title":"Smart contract call gas estimation","prompt":"I want to call a SUI smart contract at 0xcontract999 with this data payload 0xdeadbeef from 0xmywallet — what gas cost should I expect?"},{"title":"Batch transaction cost planning","prompt":"Help me figure out the gas cost for a SUI transaction with value 500000 MIST from address 0xsender to 0xrecipient before I schedule it so I can budget correctly."}],"resultDescription":"Returns an estimated gas fee for the described SUI transaction, allowing the caller to understand the cost before actually submitting the transaction to the network.","failureModes":["Invalid or malformed address for 'from' or 'to' fields returns an error","Malformed 'data' hex string causes a parse error","SUI network node unavailable causes a timeout or 503 error","Missing required fields may return a 400 bad request","Payment not provided or insufficient USDC returns 402"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call gas estimate on the SUI blockchain without managing your own node infrastructure. Prefer it for agents that need cost-awareness before executing on-chain actions on SUI specifically, as opposed to EVM-compatible chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:50:30.146Z","isFirstParty":false}