# Mantle Chain Status & Gas Oracle

> Mantle Chain Status & Gas Oracle is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Returns real-time Mantle blockchain head, safe, and finalized block status along with current gas price and average block time

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/mantle-da-eigenlayer?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mantle-chain-status-gas-oracle-c116c8f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2X5geQGehLSU7iX_91W7i

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 mantle-chain-status-gas-oracle-c116c8f0
```

Example prompt: What's the current gas price and block finalization lag on Mantle right now — head block number, safe block, finalized block, and how many seconds behind each is?

## When to prefer this

Choose this endpoint when you need real-time Mantle Network chain status including gas price, block finalization timing, and network congestion data — particularly useful before submitting transactions or for monitoring Mantle's EigenLayer DA-backed L2 health. Prefer this over generic block explorers when you need structured, machine-readable JSON for agent workflows without requiring an API key or signup, and when pay-per-call pricing ($0.002 USDC) is preferable to a subscription.

## Known failure modes

- RPC endpoint unreachable — upstream Mantle RPC outage may return 5xx or timeout
- Stale data if Mantle RPC is behind — checkedAt timestamp will reveal lag
- Payment failure — if x402 payment does not go through, call is rejected without charge
- Invalid or missing properties parameter — returns error; schema is loosely defined

## How this service works

Mantle Network L2 telemetry from the public Mantle RPC: latest block, safe block (its batch is posted to Ethereum/EigenDA) and finalized block with numbers, times and transaction counts, the head-to-safe and head-to-finalized lags in blocks and seconds, gas price (gwei), base fee, gas used % of limit and average block time over the last 20 blocks. Treasury AUM and per-blob EigenDA statistics are not in the RPC and are not reported.

## Output

A JSON object with head, safe, and finalized block details (block number, timestamp, gas used, gas limit, base fee in Gwei, transaction count), plus chain metadata (chain name, chainId, RPC source, checked-at timestamp), current gas price in Gwei, average block time in seconds, and the lag from head to safe and head to finalized expressed in both block count and seconds.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "head": {
   "time": "2026-10-23T09:36:06.000Z",
   "number": 102308927,
   "gasUsed": 46299,
   "gasLimit": 60000000,
   "baseFeeGwei": 50,
   "transactions": 1
  },
  "safe": {
   "time": "2026-10-23T09:27:58.000Z",
   "number": 102308683,
   "gasUsed": 46299,
   "gasLimit": 60000000,
   "baseFeeGwei": 50,
   "transactions": 1
  },
  "chain": "Mantle",
  "source": "https://rpc.mantle.xyz",
  "chainId": 5000,
  "checkedAt": "2026-10-23T09:36:10.254Z",
  "finalized": {
   "time": "2026-10-23T09:12:58.000Z",
   "number": 102308233,
   "gasUsed": 46299,
   "gasLimit": 60000000,
   "baseFeeGwei": 50,
   "transactions": 1
  },
  "headToSafe": {
   "blocks": 244,
   "seconds": 488
  },
  "gasPriceGwei": 50.0001,
  "avgBlockTimeSec": 2,
  "headToFinalized": {
   "blocks": 694,
   "seconds": 1388
  },
  "gasUsedPctOfLimit": 0.1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mantle-chain-status-gas-oracle-c116c8f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
