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
Name | Type |
---|---|
types | AminoConverters |
Properties
register
• Private
Readonly
register: Record
<string
, AminoConverter
| "not_supported_by_chain"
>
Methods
fromAmino
▸ fromAmino(__namedParameters
): EncodeObject
Parameters
Name | Type |
---|---|
__namedParameters | AminoMsg |
Returns
toAmino
▸ toAmino(__namedParameters
): AminoMsg
Parameters
Name | Type |
---|---|
__namedParameters | EncodeObject |