CLI
A user can query and interact with the slashing module using the CLI.
Query
The query commands allow users to query slashing state.
simd query slashing --helpparams
The params command allows users to query genesis parameters for the slashing module.
simd query slashing params [flags]Example:
simd query slashing paramsExample: Output
downtime_jail_duration: 600s
min_signed_per_window: "0.500000000000000000"
signed_blocks_window: "100"
slash_fraction_double_sign: "0.050000000000000000"
slash_fraction_downtime: "0.010000000000000000"signing-info
The signing-info command allows users to query signing-info of the validator using consensus public key.
Example:
Example Output:
signing-infos
The signing-infos command allows users to query signing infos of all validators.
Example:
Example Output:
Transactions
The tx commands allow users to interact with the slashing module.
unjail
The unjail command allows users to unjail a validator previously jailed for downtime.
Example:
gRPC
A user can query the slashing module using gRPC endpoints.
Params
The Params endpoint allows users to query the parameters of slashing module.
Example:
Example Output:
SigningInfo
The SigningInfo queries the signing info of given cons address.
Example:
Example Output:
SigningInfos
The SigningInfos queries signing info of all validators.
Example:
Example Output:
REST
A user can query the slashing module using REST endpoints.
Params
Example:
Example Output:
signing_info
Example:
Example Output:
signing_infos
Example:
Example Output:
Last updated