# Phantom API — Zora Gas Estimator

> Phantom API — Zora 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-15).

Estimates gas cost for a transaction on the Zora network before it is submitted on-chain

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/zora/gas/estimate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-zora-gas-estimator-811bdf10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Y-szC1umgWvcbyI1KJJ7

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-zora-gas-estimator-811bdf10 -d '<json body>'
```

Example prompt: Before I mint this NFT on Zora, estimate the gas cost for a transaction from 0xAbC...123 to the contract at 0xDef...456 with calldata 0xa0712d68... and no ETH value attached.

## When to prefer this

Use this endpoint when you specifically need gas estimation on the Zora network before submitting a transaction. It is ideal for pre-flight checks before NFT mints, contract interactions, or any on-chain operation on Zora where you want to avoid overpaying or running out of gas. Prefer this over general Ethereum gas estimators when targeting Zora specifically, as Zora's L2 fee model differs from mainnet.

## Known failure modes

- Invalid or malformed address in 'to' or 'from' fields returns an error
- Malformed or invalid calldata in 'data' field causes estimation failure
- Transaction would revert on-chain causes the estimation to fail with a revert error
- Network congestion or RPC node issues may cause timeouts
- Missing required fields 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 a gas estimate (in gas units) for the described Zora network transaction, allowing callers to predict transaction cost and avoid failed transactions due to insufficient gas before submission.

## 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-zora-gas-estimator-811bdf10/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)
