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.

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

Overrides the leader in the conductor.

Example

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