# Blockscout ZKSync Batch Transactions Lookup

> Blockscout ZKSync Batch Transactions Lookup is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Retrieves paginated list of transactions included in a specific ZKSync batch on a given blockchain network via Blockscout's multichain explorer

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/transactions/zksync-batch/%7Bbatch_number_param%7D
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-zksync-batch-transactions-lookup-5fd76e54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qspuVbm-pqnx6rYptremQ

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 blockscout-zksync-batch-transactions-lookup-5fd76e54
```

Example prompt: Can you pull up all the transactions included in ZKSync batch number 42 on Ethereum mainnet using Blockscout's multichain explorer?

## When to prefer this

Use this endpoint when you specifically need to enumerate or audit the transactions contained within a ZKSync rollup batch on a Blockscout-indexed chain. Prefer it over general transaction search endpoints when the batch number is known and you need batch-scoped pagination. It is ideal for rollup monitoring, settlement auditing, and forensic investigation of ZKSync L2 activity.

## Known failure modes

- Invalid or non-existent batch_number_param returns empty items array or 404
- Unsupported chain_id returns 404 or error
- Missing required path parameters returns 400 bad request
- Pagination index out of range returns empty items
- Network timeout or upstream node unavailability returns 5xx error

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

Returns a paginated list of transaction objects within the specified ZKSync batch. Each transaction includes hash, status, from/to addresses (with ENS names, tags, scam flags, proxy info), gas used/limit/price, fees, decoded input, token transfers, timestamp, block number, revert reason, and ZKSync-specific rollup metadata such as batch number, L1/L2 gas usage, commitment and confirmation transaction details.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      },
      "batch_number_param": {
       "type": "integer"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "index": {
       "type": "integer"
      },
      "items_count": {
       "type": "integer"
      },
      "block_number": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "to": {},
    "fee": {
     "type": "string",
     "value": "string"
    },
    "from": {
     "hash": "string",
     "name": "string",
     "is_scam": true,
     "metadata": {},
     "proxy_type": "string",
     "reputation": "string",
     "is_contract": true,
     "is_verified": true,
     "public_tags": [
      {
       "label": "string",
       "address_hash": "string",
       "display_name": "string"
      }
     ],
     "private_tags": [
      {
       "label": "string",
       "address_hash": "string",
       "display_name": "string"
      }
     ],
     "ens_domain_name": "string",
     "implementations": [
      {
       "name": "string",
       "address_hash": "string"
      }
     ],
     "watchlist_names": [
      {
       "label": "string",
       "display_name": "string"
      }
     ]
    },
    "hash": "string",
    "type": 0,
    "nonce": 0,
    "value": "string",
    "method": "string",
    "result": {},
    "status": "string",
    "arbitrum": {
     "status": "string",
     "poster_fee": "string",
     "network_fee": "string",
     "batch_number": 0,
     "gas_used_for_l1": "string",
     "gas_used_for_l2": "string",
     "contains_message": "string",
     "batch_data_container": "string",
     "message_related_info": {
      "message_id": 0,
      "message_status": "string",
      "associated_l1_transaction_hash": "string"
     },
     "commitment_transaction": {
      "hash": "string",
      "status": "string",
      "timestamp": "string"
     },
     "confirmation_transaction": {
      "hash": "string",
      "status": "string",
      "timestamp": "string"
     }
    },
    "gas_used": "string",
    "position": 0,
    "gas_limit": "string",
    "gas_price": "string",
    "raw_input": "string",
    "timestamp": "string",
    "block_number": 0,
    "priority_fee": "string",
    "confirmations": 0,
    "decoded_input": {},
    "exchange_rate": "string",
    "revert_reason": {},
    "max_fee_per_gas": "string",
    "token_transfers": [
     {
      "to": {
       "hash": "string",
       "name": "string",
       "is_scam": true,
       "metadata": {},
       "proxy_type": "string",
       "reputation": "string",
       "is_contract": true,
       "is_verified": true,
       "public_tags": [
        {
         "label": "string",
         "address_hash": "string",
         "display_name": "string"
        }
       ],
       "private_tags": [
        {
         "label": "string",
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-zksync-batch-transactions-lookup-5fd76e54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
