# Phantom API — MegaETH Token Metadata

> Phantom API — MegaETH Token Metadata 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-18).

Fetches on-chain token metadata (name, symbol, decimals, supply, etc.) for a given smart contract address on the MegaETH network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/megaeth/token/metadata?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-megaeth-token-metadata-a9bf6218
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FNk6OuUzw5SUTiEjSsIxM

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-token-metadata-a9bf6218 -d '<json body>'
```

Example prompt: Can you look up the token metadata for the MegaETH contract at address 0xAbC123...? I want to know its name, symbol, and decimals.

## When to prefer this

Use this endpoint when you need fast, pay-per-call token metadata for contracts specifically on the MegaETH network without committing to a subscription. Ideal for agents that occasionally need to resolve contract addresses to human-readable token info on MegaETH, or when enriching DeFi data pipelines with token identifiers on that specific chain.

## Known failure modes

- Invalid or malformed contract address returns an error or empty response
- Contract address exists but is not a token contract (e.g. plain EOA or non-ERC20 contract) may return null or partial metadata
- MegaETH network RPC unavailability causes timeout or 5xx error
- Payment not processed (x402 flow failure) results in 402 Payment Required
- Rate limiting or quota exceeded returns 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 on-chain token metadata for the specified MegaETH contract address, typically including token name, symbol, number of decimals, and total supply as recorded on the MegaETH blockchain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "contractAddress": {
   "type": "string"
  }
 }
}
```

## More

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