# TRON TRC-20 Energy and Bandwidth Cost Budgeting

> TRON TRC-20 Energy and Bandwidth Cost Budgeting is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-18).

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.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/tron-trc-20-energy-and-bandwidth-cost-budgeting?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tron-trc-20-energy-and-bandwidth-cost-budgeting-856f38b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yOPmzfsONgcV_2qQCqFGQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tron-trc-20-energy-and-bandwidth-cost-budgeting-856f38b0
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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": {

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tron-trc-20-energy-and-bandwidth-cost-budgeting-856f38b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
