l2_getBatchIndex
return the index of rollup batch which contains specific block
Parameters
blockNumber
: uint64 - the chosen block number.
Returns
batchIndex
: QUANTITY - the index of rollup batch which containing specific block
Example
Request
Result
Last updated