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_info(val_cons_pub_key)[source]

Fetches signing info for a validator consensus public key.

Parameters

val_cons_pub_key (ValConsPubKey) – validator consensus public key.

Returns

signing info

Return type

Union[List[dict], dict]

signing_infos(params)[source]

Fetches all signing info.

Parameters

params (APIParams, optional) – additional params for the API like pagination

Returns

signing infos dict: pagination info

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 (NewType()(ValAddress, str)) – validator address to unjail

action = 'unjail'
type_amino = 'slashing/MsgUnjail'
type_url: str = '/cosmos.slashing.v1beta1.MsgUnjail'