# Phantom API — Ink Network Gas Estimator

> Phantom API — Ink Network 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 Ink blockchain network before submission

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/ink/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-ink-network-gas-estimator-29c048be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qsrWTqRJPyuoi9O6YxC3O

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-ink-network-gas-estimator-29c048be -d '<json body>'
```

Example prompt: Before I submit this transaction on the Ink network, can you estimate how much gas it will cost? The sender is 0xAbC123..., recipient is 0xDeF456..., with calldata 0xa9059cbb... and a value of 0.01 ETH.

## When to prefer this

Choose this endpoint when you need a gas estimate specifically for the Ink EVM-compatible network before committing a transaction. Useful for pre-flight checks to avoid out-of-gas failures, to budget transaction fees, or to decide whether current gas conditions make a transaction economical. Prefer this over generic Ethereum gas estimators when your transaction targets the Ink chain specifically.

## Known failure modes

- Invalid or malformed address in 'to' or 'from' fields returns an error
- Malformed or invalid hex calldata in 'data' field causes simulation failure
- Transaction would revert on-chain causing estimation failure
- Network or RPC node unavailability results in timeout or 503 error
- Payment not included or insufficient USDC causes 402 rejection

## 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 transaction on the Ink network, allowing the caller to understand the likely cost 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-ink-network-gas-estimator-29c048be/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)
