Skip to main content
The admin api provides methods for controlling and monitoring Kona’s consensus node operations.

admin_postUnsafePayload

Posts an unsafe payload to the network.

Parameters

  • payload (OpExecutionPayloadEnvelope): The execution payload envelope to post

Example

admin_sequencerActive

Returns whether the sequencer is currently active.

Example

Note: This method will return a “Method not found” error if the node is running in validator mode (sequencer not enabled).

admin_startSequencer

Starts the sequencer at the expected local unsafe head. When a conductor is configured, it must report leadership. The request fails if the sequencer is already active, the unsafe head is unavailable, or the supplied hash does not match.

Parameters

  • head (bytes32): Expected unsafe block hash, obtained from admin_stopSequencer or the current local unsafe head.

Example

Note: This method will return a “Method not found” error if the node is running in validator mode (sequencer not enabled).

admin_stopSequencer

Stops the sequencer and returns the hash of the last processed block.

Example

Note: This method will return a “Method not found” error if the node is running in validator mode (sequencer not enabled).

admin_conductorEnabled

Returns whether the conductor is enabled.

Example

Note: This method will return a “Method not found” error if the node is running in validator mode (sequencer not enabled).

admin_setRecoverMode

Sets the recovery mode for the sequencer.

Parameters

  • mode (bool): Whether to enable recovery mode (true) or disable it (false)

Example

Note: This method will return a “Method not found” error if the node is running in validator mode (sequencer not enabled).

admin_overrideLeader

Locally bypasses conductor leadership checks and unsafe-payload commits to the conductor for disaster recovery. The override remains active until the node restarts. This does not override the conductor’s own leadership state. To serve downstream traffic through the conductor’s leader-gated RPC proxy, also set its conductor_overrideLeader RPC to true.

Example

Note: This method will return a “Method not found” error if the node is running in validator mode (sequencer not enabled).