# Phantom API — Tron Gas Estimate

> Phantom API — Tron Gas Estimate is a paid API for AI agents from phantom-api-omega.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Estimates the gas (energy/bandwidth) required to execute a transaction or smart contract call on the Tron blockchain

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/tron/gas/estimate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-tron-gas-estimate-e6248671
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ej_8TwP8qA-U1lMdoxCJ_

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 phantom-api-tron-gas-estimate-e6248671 -d '<json body>'
```

Example prompt: Estimate the gas cost for a Tron transaction from TLxxxxSenderAddress to TRxxxxRecipientAddress with a value of 100 TRX and this contract calldata: 0xa9059cbb000000...

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "data": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "value": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-tron-gas-estimate-e6248671/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phantom-api-omega.vercel.app](https://www.zero.xyz/host/phantom-api-omega.vercel.app/llms.txt)
