Skip to main content

Class: AminoTypes

@shareledgerjs/amino.AminoTypes

A map from Stargate message types as used in the messages's Any type to Amino types.

Constructors

constructor

new AminoTypes(types)

Parameters

NameType
typesAminoConverters

Properties

register

Private Readonly register: Record<string, AminoConverter | "not_supported_by_chain">

Methods

fromAmino

fromAmino(__namedParameters): EncodeObject

Parameters

NameType
__namedParametersAminoMsg

Returns

EncodeObject


toAmino

toAmino(__namedParameters): AminoMsg

Parameters

NameType
__namedParametersEncodeObject

Returns

AminoMsg