# Phantom API — Ronin Gas Estimator

> Phantom API — Ronin Gas Estimator 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 cost for a transaction on the Ronin blockchain network given transaction parameters.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/ronin/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-ronin-gas-estimator-a9558b78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kddesQ3JuyAWpl_sfSH35

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-ronin-gas-estimator-a9558b78 -d '<json body>'
```

Example prompt: Can you estimate how much gas it will cost to call this Ronin smart contract — sending from 0xABC...123 to 0xDEF...456 with data 0x095ea7b3... and a value of 0?

## When to prefer this

Use this endpoint when you specifically need gas estimation on the Ronin network (used by Axie Infinity and Sky Mavis ecosystem). Prefer this over generic Ethereum gas estimators when your transaction is destined for Ronin chain, or when you need pay-per-call pricing without subscription commitments.

## Known failure modes

- Invalid or malformed Ethereum-style address for 'to' or 'from' fields returns an error
- Malformed hex data in the 'data' field may cause estimation failure
- Transaction that would revert on-chain may return an error or zero estimate
- Ronin network node unavailability may result in timeout or 5xx error
- Missing required fields (e.g. 'to') may return a validation error

## 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 unit amount for the described Ronin transaction, allowing callers to predict transaction fees before submission to the network.

## 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-ronin-gas-estimator-a9558b78/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)
