zks_L1BatchNumber | zkSync Era
Zksync node API
zks_L1BatchNumber | zkSync Era
zkSync Era API method that returns the latest Layer 1 (L1) batch number. Reference for zks_L1BatchNumber on zkSync Era via Chainstack.
POST
zks_L1BatchNumber | zkSync Era
zkSync Era API method that returns the latest Layer 1 (L1) batch number. This method is crucial for developers who need to track the progress of batch processing on the zkSync network. Batches are groups of transactions processed together on L1 for efficiency and cost-effectiveness.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
none
Response
result— the latest L1 batch number, returned as a hexadecimal string. This number increments with each new batch processed on the L1 network, providing a sequential identifier that can be used to track processing progress and batch-related activities.
You can use the Chainstack EVM Swiss Army Knife to convert values.
Use case
For developers implementing monitoring tools or analytics for zkSync,zks_L1BatchNumber could be used to obtain the most recent batch number. This can be particularly useful for applications that need to display the current processing state of the zkSync network or to analyze transaction throughput over time.Body
application/json
Last modified on May 18, 2026