{"uid":"cap_yOPmzfsONgcV_2qQCqFGQ","slug":"tron-trc-20-energy-and-bandwidth-cost-budgeting-856f38b0","name":"TRON TRC-20 Energy and Bandwidth Cost Budgeting","description":"Deterministic cost-budgeting procedure for agents paying via TRON TRC-20 transfers. Given the payment amount and the sender's TRON account state, the procedure estimates the true transfer cost: free daily bandwidth allowance consumed first, energy cost for contract execution (rental rate vs staking/delegation vs TRX burn), and the bandwidth or energy shortfall burned as TRX. Returns a pre-payment cost estimate in TRX and USD, the fee-budget rule that total cost never exceeds payment value minus","url":"https://k2so.wrong.systems/api/services/tron-trc-20-energy-and-bandwidth-cost-budgeting?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"TRON TRC-20 energy and bandwidth cost budgeting procedure for agents paying via paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"tron-trc-20-energy-and-bandwidth-cost-budgeting","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"tron-trc-20-energy-and-bandwidth-cost-budgeting","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dOhXVb5f07YwyFwjwVsKh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a deterministic pre-payment cost estimate in TRX and USD for a TRON TRC-20 transfer, accounting for free bandwidth allowance, energy costs, and TRX burn.","exampleAgentPrompt":"Before I send 500 USDT via TRC-20, can you estimate the full transfer cost in TRX and USD — factoring in my free daily bandwidth allowance, any energy I'd need to rent or burn, and make sure the total fees don't exceed the payment value minus a safe buffer?","exampleUseCases":[{"title":"Pre-flight TRC-20 payment cost check","prompt":"I'm about to send 200 USDT on the TRON network — can you estimate the total cost including bandwidth and energy fees, and tell me whether I should rent energy or just let it burn TRX?"},{"title":"Agent wallet fee budgeting for TRON transfers","prompt":"My agent is about to make a series of TRC-20 payments and I need to know the true all-in cost per transfer in TRX and USD so I can budget the wallet correctly — can you run the cost estimation procedure?"},{"title":"Checking if account has enough free bandwidth","prompt":"Before my automated payment goes out, can you check whether my TRON account's free daily bandwidth allowance covers the transfer or if there will be a TRX shortfall I need to fund?"}],"resultDescription":"A structured JSON response containing a plain-prose decision procedure (~120+ words) explaining the cost breakdown, the estimated total cost in TRX and USD, the fee-budget rule ensuring total cost stays below payment value minus a safe buffer, the generation source (llm/reasoning/deterministic), and the service slug and provider identifier.","failureModes":["Missing required query parameters may return an error or empty procedure","Payment not processed (HTTP 402) if x402 payment header is absent or invalid","Stale or incorrect account state inputs may yield inaccurate cost estimates","Rate or credit exhaustion on the facilitator side may block the request","Network errors connecting to k2so.wrong.systems returning 5xx responses"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to compute the true pre-payment cost of a TRON TRC-20 transfer before committing funds, especially to avoid overspending on energy and bandwidth fees. It is specifically useful when the agent must decide between energy rental, staking/delegation, and TRX burn strategies, and needs a deterministic cost-budget rule rather than a rough heuristic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:41:34.689Z","isFirstParty":false,"canonicalSlug":"tron-trc-20-energy-and-bandwidth-cost-budgeting-856f38b0"}