admin api provides methods for controlling and monitoring Kona’s consensus node operations.
admin_postUnsafePayload
Posts an unsafe payload to the network.
| Client | Method invocation |
|---|---|
| RPC | {"method": "admin_postUnsafePayload", "params": [payload]} |
Parameters
payload(OpExecutionPayloadEnvelope): The execution payload envelope to post
Example
admin_sequencerActive
Returns whether the sequencer is currently active.
| Client | Method invocation |
|---|---|
| RPC | {"method": "admin_sequencerActive"} |
Example
admin_startSequencer
Starts the sequencer.
| Client | Method invocation |
|---|---|
| RPC | {"method": "admin_startSequencer"} |
Example
admin_stopSequencer
Stops the sequencer and returns the hash of the last processed block.
| Client | Method invocation |
|---|---|
| RPC | {"method": "admin_stopSequencer"} |
Example
admin_conductorEnabled
Returns whether the conductor is enabled.
| Client | Method invocation |
|---|---|
| RPC | {"method": "admin_conductorEnabled"} |
Example
admin_setRecoverMode
Sets the recovery mode for the sequencer.
| Client | Method invocation |
|---|---|
| RPC | {"method": "admin_setRecoverMode", "params": [mode]} |
Parameters
mode(bool): Whether to enable recovery mode (true) or disable it (false)
Example
admin_overrideLeader
Overrides the leader in the conductor.
| Client | Method invocation |
|---|---|
| RPC | {"method": "admin_overrideLeader"} |