{"uid":"cap_ej_8TwP8qA-U1lMdoxCJ_","slug":"phantom-api-tron-gas-estimate-e6248671","name":"Phantom API — Tron 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/tron/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_DsVklCrNIqrNNtghLEfrg","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 (energy/bandwidth) required to execute a transaction or smart contract call on the Tron blockchain","exampleAgentPrompt":"Estimate the gas cost for a Tron transaction from TLxxxxSenderAddress to TRxxxxRecipientAddress with a value of 100 TRX and this contract calldata: 0xa9059cbb000000...","exampleUseCases":[{"title":"TRC-20 token transfer cost check","prompt":"Before I send 500 USDT on Tron from my wallet TLxxxxMyWallet to TRxxxxFriend, can you estimate how much energy and bandwidth this TRC-20 transfer will consume?"},{"title":"Smart contract interaction fee preview","prompt":"I want to call a Tron smart contract at TGxxxxContract with this calldata: 0xa9059cbb0000... — estimate how much gas I'll need so I know if my wallet has enough resources."},{"title":"DeFi swap cost estimation","prompt":"Estimate the energy cost of this Tron DEX swap transaction: from TLxxxxMyAddress, to TGxxxxDexRouter, with calldata 0x38ed1739... and value 0 — I need to know the fee before confirming the swap."}],"resultDescription":"Returns an estimated gas/energy and bandwidth cost for the specified Tron transaction, allowing the caller to assess resource requirements and potential TRX fees before submitting the transaction on-chain.","failureModes":["Invalid Tron address format for 'to' or 'from' fields returns a 400 error","Malformed or oversized calldata may cause simulation failure","Network connectivity issues to Tron RPC nodes may return 503 or timeout","Insufficient input parameters (missing required fields) returns validation error","Tron node rate limiting may cause intermittent failures"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call gas estimate for Tron network transactions without managing your own Tron node or RPC infrastructure. Ideal for agents handling TRX or TRC-20 transactions that need pre-flight fee checks before committing a transaction. Prefer this over general-purpose blockchain APIs when specifically targeting the Tron network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:47:44.339Z","isFirstParty":false}