# Phantom API — MegaETH Transaction History

> Phantom API — MegaETH Transaction History 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).

Retrieves paginated transaction history for addresses on the MegaETH network, with filtering by block range, category, and address.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/megaeth/tx/history?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-megaeth-transaction-history-f6b98a41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yHgYdbEg68xcETMouUZzV

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-megaeth-transaction-history-f6b98a41 -d '<json body>'
```

Example prompt: Can you pull up the last 50 transactions sent from 0xAbC123... on MegaETH, sorted from newest to oldest, and include transaction metadata?

## When to prefer this

Use this endpoint when you need paginated, filterable transaction history specifically on the MegaETH network, with support for block-range queries, directional address filtering (from/to), category filtering, and metadata enrichment. Prefer it over generic Ethereum history endpoints when targeting MegaETH-specific data at $0.01 per call via x402 micropayment.

## Known failure modes

- Invalid address format returns an error or empty result
- Block range too large may time out or return partial results
- Unknown category values may return no results or an error
- Missing both fromAddress and toAddress may return an error
- pageKey mismatch or expiry causes pagination failure
- Network unavailability on MegaETH returns a 5xx 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 paginated list of MegaETH transactions matching the specified filters, including transaction hashes, block numbers, from/to addresses, values, and optionally full metadata. Also includes a pageKey for fetching the next page of results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "pageKey": {
   "type": "string"
  },
  "toBlock": {
   "type": "string"
  },
  "category": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "maxCount": {
   "type": "number"
  },
  "fromBlock": {
   "type": "string"
  },
  "toAddress": {
   "type": "string"
  },
  "fromAddress": {
   "type": "string"
  },
  "withMetadata": {
   "type": "boolean"
  },
  "excludeZeroValue": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-megaeth-transaction-history-f6b98a41/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)
