Expand description
Validator RPC method catalogue.
Smaller than the fullnode surface — validators serve operator-facing status / duty / slashing-db inspection and a handful of admin methods.
| Class | Methods |
|---|---|
| Status | get_status, get_duty_history, healthz, get_version |
| Slashing DB | get_slashing_db, export_slashing_db, reset_slashing_db |
| Admin | stop_node, reload_config |
Structs§
- Duty
Entry - A single duty-loop event.
- Export
Slashing DbRequest export_slashing_db— write the slashing DB to a server-side path (EIP-3076 interchange format).- Export
Slashing DbResponse - Response for
ExportSlashingDbRequest. - GetDuty
History Request get_duty_history— recent duty-loop entries.- GetDuty
History Response - Response for
GetDutyHistoryRequest. - GetSlashing
DbRequest get_slashing_db— return the current slashing-protection watermarks.- GetSlashing
DbResponse - Response for
GetSlashingDbRequest. - GetStatus
Request get_status— current validator status.- GetStatus
Response - Response for
GetStatusRequest. - GetVersion
Request get_version— binary identification.- GetVersion
Response - Response for
GetVersionRequest. - Healthz
Request healthz— liveness probe. Identical shape to the fullnode method.- Healthz
Response - Response for
HealthzRequest. - Reload
Config Request reload_config— re-read config.toml and apply non-destructive changes.- Reload
Config Response - Response for
ReloadConfigRequest. - Reset
Slashing DbRequest reset_slashing_db— destructively reset the slashing-protection DB.- Reset
Slashing DbResponse - Response for
ResetSlashingDbRequest. - Stop
Node Request stop_node— request validator shutdown. Mirror of the fullnode method but with a different server surface.- Stop
Node Response - Response for
StopNodeRequest.
Enums§
- Duty
Kind - Duty kinds a validator performs.
Functions§
- now_
unix_ seconds - Convenience helper — compute
now()in Unix-epoch seconds for callers who want to providesince.