Skip to main content

Module validator

Module validator 

Source
Expand description

Running a validator: registering it, changing its profile and unregistering it (CValidatorAction), and its signer jailing or unjailing itself (CSignerAction). Both are L1 actions. Neither is in the API docs; the shapes are the ones @nktkas/hyperliquid and Hyperliquid’s Python SDK both send. Keys are snake case, as the venue takes them.

Structs§

ProfileChange
A change to a validator’s profile. Every None is sent as null and leaves that field as it is; unjailed is always sent.
ValidatorProfile
A new validator’s profile.

Enums§

CSignerAction
{"type":"CSignerAction",<variant>:null}, sent by a validator’s signer key.
CValidatorAction
{"type":"CValidatorAction",<variant>:..}, sent by the validator’s own key.