rollup_getInfo
Returns useful L2-specific information about the current node.
Parameters
none
Returns
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 blocktimestamp
:QUANTITY
- Timestamp of the latest known L1 block
rollupContext
:OBJECT
queueIndex
:QUANTITY
- Index within the CTC of the last L1 to L2 message ingestedindex
:QUANTITY
- Index of the last L2 tx processedverifiedIndex
:QUANTITY
- Index of the last tx that was ingested from a batch that was posted to L1
Example
Request
Result
Last updated