# Scroll L2 ZK Proofs Network Stats

> Scroll L2 ZK Proofs Network Stats 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).

Fetches recent block data and network statistics for the Scroll L2 ZK rollup chain, including gas prices, block heights, transaction counts, and network utilization.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/scroll-l2-zk-proofs?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/scroll-l2-zk-proofs-network-stats-476b3025
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RVYpgGtDV7CK46XaLdb2o

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 scroll-l2-zk-proofs-network-stats-476b3025
```

Example prompt: What are the last 5 blocks on Scroll L2 — give me the gas prices, transaction counts, and current network utilization?

## When to prefer this

Choose this endpoint when you need real-time Scroll L2 ZK rollup chain data — block-level details, gas prices, and network throughput — without requiring an API key or signup. Ideal for agents that need to make gas-aware decisions, monitor Scroll chain activity, or display on-chain stats in a dashboard. Use over generic blockchain explorers when you want a pay-per-call, no-subscription model for Scroll-specific data.

## Known failure modes

- Invalid 'blocks' parameter value (outside 1-10 range) may return an error or default behavior
- Upstream Blockscout API unavailability may cause stale or failed responses
- Payment failure on x402 protocol results in no charge and no data returned
- Network timeout if Scroll RPC or Blockscout is under heavy load

## How this service works

Scroll (zkEVM L2) network statistics from its public explorer: total blocks and transactions, average block time, gas prices, network utilization and today's transactions, plus the newest blocks (1 to 10) with gas use and transaction counts. Narrowed: proof and batch-finalization status is not in this public API and is not reported.

## Output

Returns an array of recent Scroll L2 blocks (up to 10) each with height, gas used, gas limit, timestamp, base fee per gas, and transaction count, plus network-level stats including ETH price in USD, total blocks, fast/slow/average gas prices in Gwei, total and daily transaction counts, average block time in milliseconds, and network utilization percentage. Also includes the Blockscout data source URL and a checkedAt timestamp.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "blocks": {
       "type": "string",
       "description": "How many newest blocks, 1 to 10 (default 3)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "blocks": [
   {
    "height": 35471347,
    "gasUsed": 38480,
    "gasLimit": 20000000,
    "timestamp": "2026-10-23T09:35:38.000000Z",
    "baseFeePerGas": "120008",
    "transactionsCount": 1
   },
   {
    "height": 35471346,
    "gasUsed": 21000,
    "gasLimit": 20000000,
    "timestamp": "2026-10-23T09:35:37.000000Z",
    "baseFeePerGas": "120008",
    "transactionsCount": 1
   }
  ],
  "source": "https://scroll.blockscout.com/api/v2/stats",
  "network": {
   "ethPriceUsd": 2392.83,
   "totalBlocks": 35471130,
   "gasPricesGwei": {
    "fast": 0.01,
    "slow": 0.01,
    "average": 0.01
   },
   "totalTransactions": 140158465,
   "transactionsToday": 12440,
   "averageBlockTimeMs": 13202,
   "networkUtilizationPct": 0.6905269
  },
  "checkedAt": "2026-10-23T09:36:10.639Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scroll-l2-zk-proofs-network-stats-476b3025/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)
