Skip to main content

Namespace: staking

@shareledgerjs/client.staking

Interfaces

Type Aliases

BondStatusString

Ƭ BondStatusString: keyof Pick<typeof BondStatus, "BOND_STATUS_BONDED" | "BOND_STATUS_UNBONDED" | "BOND_STATUS_UNBONDING"> | ""


StakingExtension

Ƭ StakingExtension: StakingQueryExtension & StakingTxExtension


StakingExtensionMethods

Ƭ StakingExtensionMethods: StakingQueryExtensionMethods & StakingTxExtensionMethods

Functions

StakingExtension

StakingExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & StakingQueryExtension & StakingTxExtension

Parameters

NameType
constructorT

Returns

T


StakingQueryExtension

StakingQueryExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & StakingQueryExtension

Parameters

NameType
constructorT

Returns

T


StakingTxExtension

StakingTxExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & StakingTxExtension

Parameters

NameType
constructorT

Returns

T


createStakingActions

createStakingActions(): Record<string, string>

Returns

Record<string, string>


createStakingAminoConverters

createStakingAminoConverters(prefix): Record<string, AminoConverter | "not_supported_by_chain">

Parameters

NameType
prefixstring

Returns

Record<string, AminoConverter | "not_supported_by_chain">


createStakingTypes

createStakingTypes(): ReadonlyArray<[string, GeneratedType]>

Returns

ReadonlyArray<[string, GeneratedType]>


isAminoMsgBeginRedelegate

isAminoMsgBeginRedelegate(msg): msg is AminoMsgBeginRedelegate

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgBeginRedelegate


isAminoMsgCreateValidator

isAminoMsgCreateValidator(msg): msg is AminoMsgCreateValidator

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgCreateValidator


isAminoMsgDelegate

isAminoMsgDelegate(msg): msg is AminoMsgDelegate

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgDelegate


isAminoMsgEditValidator

isAminoMsgEditValidator(msg): msg is AminoMsgEditValidator

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgEditValidator


isAminoMsgUndelegate

isAminoMsgUndelegate(msg): msg is AminoMsgUndelegate

Parameters

NameType
msgAminoMsg

Returns

msg is AminoMsgUndelegate


isMsgBeginRedelegateEncodeObject

isMsgBeginRedelegateEncodeObject(encodeObject): encodeObject is MsgBeginRedelegateEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgBeginRedelegateEncodeObject


isMsgCreateValidatorEncodeObject

isMsgCreateValidatorEncodeObject(encodeObject): encodeObject is MsgCreateValidatorEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgCreateValidatorEncodeObject


isMsgDelegateEncodeObject

isMsgDelegateEncodeObject(encodeObject): encodeObject is MsgDelegateEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgDelegateEncodeObject


isMsgEditValidatorEncodeObject

isMsgEditValidatorEncodeObject(encodeObject): encodeObject is MsgEditValidatorEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgEditValidatorEncodeObject


isMsgUndelegateEncodeObject

isMsgUndelegateEncodeObject(encodeObject): encodeObject is MsgUndelegateEncodeObject

Parameters

NameType
encodeObjectEncodeObject

Returns

encodeObject is MsgUndelegateEncodeObject