Slashing

API

class terra_sdk.client.lcd.api.slashing.SlashingAPI(c)[source]
parameters()[source]

Fetches Slashing module parameters.

Returns

Slashing module parameters

Return type

dict

signing_infos(val_cons_pub_key=None)[source]

Fetches signing infos, optionally filtering by validator consensus public key.

Parameters

val_cons_pub_key (Optional[ValConsPubKey], optional) – validator consensus public key.

Returns

signing infos

Return type

Union[List[dict], dict]

Messages

Slashing module messages types.

class terra_sdk.core.slashing.msgs.MsgUnjail(address)[source]

Attempt to unjail a jailed validator (must be submitted by same validator).

Parameters

address (ValAddress) – validator address to unjail

action = 'unjail'
type: str = 'slashing/MsgUnjail'