Class: AptosModuleExposedFunction
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosModuleExposedFunction
Class: AptosModuleExposedFunction
@moralisweb3/common-aptos-utils.AptosModuleExposedFunction
Table of contents
Methods
Properties
Methods
create
▸ Static
create(input
): AptosModuleExposedFunction
Parameters
Name | Type |
---|---|
input | AptosModuleExposedFunctionInput | AptosModuleExposedFunction |
Returns
fromJSON
▸ Static
fromJSON(json
): AptosModuleExposedFunction
Parameters
Name | Type |
---|---|
json | AptosModuleExposedFunctionJSON |
Returns
toJSON
▸ toJSON(): AptosModuleExposedFunctionJSON
Returns
AptosModuleExposedFunctionJSON
Properties
genericTypeParams
• Readonly
genericTypeParams: AptosGenericTypeParam
[]
Description
Generic type params associated with the Move function
isEntry
• Readonly
isEntry: boolean
Description
Whether the function can be called as an entry function directly in a transaction
name
• Readonly
name: string
Description
Name of the function
params
• Readonly
params: string
[]
Description
Parameters associated with the move function
return
• Readonly
return: string
[]
Description
Return type of the function
visibility
• Readonly
visibility: string
Description
Move function visibility