Queries

Cosmos-SDK Slashing module query commands

The query commands allow users to query slashing state.

sdge query slashing --help

Params

The params command allows users to query genesis parameters for the slashing module.

sged query slashing params [flags]

Example:

sged query slashing params

Example 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 the signing info of the validator using the consensus public key.

sged query slashing signing-infos [flags]

Example:

simd query slashing signing-info '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"Auxs3865HpB/EfssYOzfqNhEJjzys6jD5B6tPgC8="}'

Example Output:

Signing Infos

The signing-infos command allows users to query signing infos of all validators.

Example:

Example Output:

For detailed information see the originalarrow-up-right document.

Last updated