zkevm_batchNumberByBlockNumber
zkEVM methods | Polygon zkEVM
zkevm_batchNumberByBlockNumber | zkEVM
Polygon zkEVM API method that returns the batch number associated with a given block number in the zkEVM chain. zkEVM via Chainstack.
POST
zkevm_batchNumberByBlockNumber
Polygon zkEVM API method that returns the batch number associated with a given block number in the zkEVM chain.
In the zkEVM chain, multiple transactions are grouped together and verified as a single batch using zero-knowledge proofs. At the time of writing, the Polygon zkEVM works such that all individual transactions of a particular batch are processed as a separate block so that multiple blocks can be associated with a single batch of transactions.
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
blockNumber— a hexadecimal string representing a block number in the Polygon zkEVM chain.
Response
result— a string representing the batch number of the specified block number in the zkEVM chain.
zkevm_batchNumberByBlockNumber code examples
Last modified on May 18, 2026