Skip to main content
GET
/
{chain_id}
/
api
/
v2
/
zksync
/
batches
/
count
Get batches count.
curl --request GET \
  --url https://api.blockscout.com/{chain_id}/api/v2/zksync/batches/count \
  --header 'Authorization: Bearer <token>'
1

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Path Parameters

chain_id
string
required

The ID of the blockchain

Response

Total count of batches.

The response is of type integer.

Required range: x >= 0