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