# Phantom API — MegaETH Latest Block

> Phantom API — MegaETH Latest Block 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-14).

Fetches the most recent block data from the MegaETH blockchain network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/megaeth/block/latest
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-megaeth-latest-block-92c73736
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wJT_x6sNzQi7VYqwH6-0c

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-latest-block-92c73736 -d '<json body>'
```

Example prompt: Can you fetch the latest block from MegaETH and show me the block number, timestamp, and how many transactions it contains?

## When to prefer this

Use this endpoint when you need real-time, pay-per-call access to the latest MegaETH block without managing your own RPC node or API key subscription. It is ideal for agents that need occasional on-demand blockchain state checks on MegaETH and want to pay only for what they use via USDC microtransactions.

## Known failure modes

- Network or RPC node unavailability returns a 5xx error
- Payment not completed via x402 returns a 402 Payment Required response
- MegaETH network downtime may cause a stale or null block response
- Invalid or malformed request body returns a 400 Bad Request
- Rate limiting or quota exhaustion may return a 429 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 full block object for the most recently finalized block on the MegaETH network, including block number, hash, parent hash, timestamp, miner/validator, gas used, gas limit, and list of transactions or transaction hashes contained in that block.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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