# Base Block Gas Report

> Base Block Gas Report is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-13).

Analyzes gas usage, base fee, utilization, and transaction composition for a given Base network block

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/base_block_gas_report/invoke
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-block-gas-report-2cb5ba9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0NSP_3VAAE2pLysV49dW7

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 base-block-gas-report-2cb5ba9c -d '<json body>'
```

Example prompt: Can you analyze the gas report for Base block number 1 — I want to see the base fee, gas utilization, transaction count, and transaction type breakdown?

## When to prefer this

Use this endpoint when you need structured gas analytics for a specific Base (or Base Sepolia) block — especially when working with OP Stack fee models, EIP-1559 transaction breakdowns, or L2 execution cost analysis. Prefer this over raw RPC calls when you want pre-computed utilization metrics and transaction type aggregation in a single pay-per-call response without managing your own node or indexer.

## Known failure modes

- Malformed or missing request_json causes validation error
- Block data referencing unsupported chain IDs returns network mismatch error
- Incomplete block data (missing gas fields) may produce partial or warning-heavy output
- Payment failure (insufficient USDC) returns 402 before execution
- Caller-supplied data that doesn't conform to Base block structure may yield unreliable metrics

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a structured JSON analysis of the block including: base_fee_per_gas, gas_limit, gas_used, utilization in parts-per-million (ppm), transaction_count, a map of transaction types (e.g. EIP-1559 type 0x2), network context (accepted chain IDs, fee model, protocol family), and a warnings array noting any caveats about finality or canonical status. Also includes a receipt with payment metadata and a SHA-256 hash of the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Does not establish canonical, safe, or finalized status."
   ],
   "service_id": "base_block_gas_report",
   "analysis_json": "{\"base_fee_per_gas\":\"100\",\"gas_limit\":\"30000000\",\"gas_used\":\"21000\",\"network_context\":{\"accepted_chain_ids\":[\"8453\",\"84532\"],\"deposit_transaction_type\":\"0x7e\",\"fee_model\":\"L2 execution plus caller-supplied L1 data/operator components\",\"protocol_family\":\"OP Stack\"},\"number\":\"1\",\"transaction_count\":1,\"transaction_types\":{\"0x2\":1},\"utilization_ppm\":\"700\"}",
   "evidence_scope": "caller_supplied_data",
   "analyzed_network": "base"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "base_block_gas_report",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "15000",
   "resultSha256": "7b8dd75f9501246421928c2eb435f8558558b5a18d569853331a3ef9367ccdb4",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-block-gas-report-2cb5ba9c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
