Return the state hash corresponding to batch.
batchIndex: uint64|QUANTITY - specified batch number, enable hex-encoded and original string.
batchIndex
DATA: 32 Bytes - hash of a batch state.
DATA
Request
{ "jsonrpc": "2.0", "method": "l2_getState", "params": [ 1 ], "id": 0 }
params maybe ["1"] or ["0x1"]
Result
Last updated 3 years ago
{ "jsonrpc": "2.0", "id": 0, "result": "0x186eaa2ae7aa57ef77ee1f0792880758ef5bec776c48c5e4b6bca09440845e6c" }