# Phantom API — BNB Gas Estimate

> Phantom API — BNB 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-10-20).

Estimates the gas required for a transaction on the BNB Smart Chain network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/bnb/gas/estimate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-bnb-gas-estimate-7b10dc38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ThyS8rwZve-9oRoPt6S5b

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-bnb-gas-estimate-7b10dc38 -d '<json body>'
```

Example prompt: Estimate how much gas it'll take to call this contract on BNB Smart Chain — sending from 0xAbC...123 to 0xDef...456 with data 0x095ea7b3...ffff and a value of 0.

## When to prefer this

Use this endpoint when you need a fast, pay-per-call gas estimate for BNB Smart Chain transactions without managing your own RPC infrastructure. Ideal for agents that need to preflight transactions, estimate fees before user confirmation, or simulate smart contract interactions on BSC without broadcasting.

## Known failure modes

- Invalid or malformed 'to' or 'from' address returns an error
- Reverted simulation (e.g. contract throws) may return an execution revert error
- Missing required fields may result in a 400-level error
- Network congestion or RPC unavailability may cause timeouts
- Incorrect 'value' format (non-hex or non-numeric) may cause parsing errors

## 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 BNB Smart Chain transaction, helping callers understand the computational cost before broadcasting the transaction.

## 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-bnb-gas-estimate-7b10dc38/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)
