# Phantom API – Mantle Gas Estimation

> Phantom API – Mantle Gas Estimation 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-16).

Estimates the gas cost for a transaction on the Mantle network given recipient, calldata, sender, and value.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/mantle/gas/estimate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-mantle-gas-estimation-2938c948
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__1MaGtjr37H-NR5H23Ln1

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-mantle-gas-estimation-2938c948 -d '<json body>'
```

Example prompt: Estimate the gas needed for a Mantle transaction from 0xAbCd...1234 to the contract at 0x5678...EfGh with calldata 0xa9059cbb000...0001 and a value of 0 MNT.

## When to prefer this

Use this endpoint when you need a fast, pay-per-call gas estimate specifically on the Mantle L2 network without managing your own RPC node or paying for a subscription-based node provider. Prefer it over generic ETH gas estimators when the target chain is Mantle, and over full simulation endpoints when you only need fee estimation rather than full state trace output.

## Known failure modes

- Invalid or malformed address in 'to' or 'from' fields returns a 400 error
- Malformed calldata causes simulation failure or revert estimation
- Transaction would revert on-chain causing an error response indicating execution failure
- Network congestion or RPC node unavailability causes a timeout or 503
- Missing required fields result in schema validation errors
- Value field formatted incorrectly (not hex or decimal string) causes parsing 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 the estimated gas units required to execute the transaction on Mantle, along with relevant fee data such as gas price and total estimated cost in the network's native token, enabling callers to budget and validate transactions 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-mantle-gas-estimation-2938c948/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)
