Skip to main content

Overview

The Slashing precompile provides an interface to the Cosmos SDK’s x/slashing module, which is responsible for penalizing validators for misbehavior, such as downtime or double-signing. This precompile allows smart contracts to unjail validators and query slashing-related information, including validator signing info and module parameters. Precompile Address: 0x0000000000000000000000000000000000000806 Related Module: x/slashing

Gas Costs

Gas costs are approximated and may vary based on chain settings.

Transaction Methods

unjail

Allows a validator to unjail themselves after being jailed for downtime.

Query Methods

getSigningInfo

Returns the signing information for a specific validator.

getSigningInfos

Returns the signing information for all validators, with pagination support.

getParams

Returns the current parameters for the slashing module.

Full Solidity Interface & ABI

Slashing Solidity Interface
Slashing ABI