zkevm_getBatchByNumber

Returns information about a specific batch in the ZK-EVM layer, based on its batch number.

Path Params
string
required
Defaults to public

For higher throughput, please create your own API key.

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to zkevm_getBatchByNumber
params
array of strings
length between 1 and 1
Defaults to latest
  1. String - The batch number (in hex) or batch tag

The optional batch height descriptions are:

  • latest - The most recent batch in the canonical chain observed by the client, this batch may be re-orged out of the canonical chain even under healthy/normal conditions.
  • earliest - The lowest numbered batch the client has available. Intuitively, you can think of this as the first batch created.
params
Response

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json