Class: AptosModuleStructField
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosModuleStructField
Class: AptosModuleStructField
@moralisweb3/common-aptos-utils.AptosModuleStructField
Table of contents
Methods
Properties
Methods
create
▸ Static
create(input
): AptosModuleStructField
Parameters
Name | Type |
---|---|
input | AptosModuleStructFieldInput | AptosModuleStructField |
Returns
fromJSON
▸ Static
fromJSON(json
): AptosModuleStructField
Parameters
Name | Type |
---|---|
json | AptosModuleStructFieldJSON |
Returns
toJSON
▸ toJSON(): AptosModuleStructFieldJSON
Returns
Properties
name
• Readonly
name: string
Description
Name of the field
type
• Readonly
type: string
Description
String representation of an on-chain Move type tag that is exposed in transaction payload.