rollup_getInfo
Returns useful L2-specific information about the current node.
Parameters:
None
Returns:
Object:
mode: STRING -
"sequencer"
or"verifier"
depending on the node's mode of operationsyncing: BOOLEAN -
true
if the node is currently syncing,false
otherwiseethContext: OBJECT
blockNumber: QUANTITY - Block number of the latest known L1 block
timestamp: QUANTITY - Timestamp of the latest known L1 block
rollupContext: OBJECT
queueIndex: QUANTITY - Index within the CTC of the last L1 to L2 message ingested
index: QUANTITY - Index of the last L2 tx processed
verifiedIndex: QUANTITY - Index of the last tx that was ingested from a batch that was posted to L1
Example:
Last updated