Skip to main content

zkevm_batchNumber RPC Method

Returns the latest batch number.

Updated on
Apr 16, 2026

Parameters

This method does not accept any parameters

Returns

result
string

The latest batch number

Request
Response
1
{
2
"id": 1,
3
"jsonrpc": "2.0",
4
"error": {
5
"code": -32601,
6
"message": "the method zkevm_batchNumber does not exist/is not available"
7
}
8
}
1
{
2
"id": 1,
3
"jsonrpc": "2.0",
4
"error": {
5
"code": -32601,
6
"message": "the method zkevm_batchNumber does not exist/is not available"
7
}
8
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free