Path Parameters
- addressstringREQUIRED
The address associated with the account
- module_namestringREQUIRED
The name of module to retrieve
Query Parameters
- ledger_versionstring
The ledger version at the time of retrieving the account module
Returns
- bytecodestring
The bytecode representation of the module
- abiobject
The Application Binary Interface (ABI) of the move module
- addressstring
The address of the Aptos account
- namestring
The name of the module
- friendsarray
The module friends
- exposed_functionsarray
The public functions of the module
- namestring
The module name
- visibilitystring
The visibility of the module i.e public, private or friend
- is_entryboolean
A flag indicating whether the function is an entry function
- is_viewboolean
A flag indicating whether the function is a view function or not
- generic_type_paramsarray
The generic type parameters associated with the Move function
- constraintsarray
Any constraints associated with the module
- typestring
(Optional) Move type parameter name when present in the module ABI
- paramsarray
The parameters associated with the move function
- returnarray
The return type of the module
- structsarray
The list of fields defined within the module
- namestring
The name of the module
- is_nativeboolean
A flag indicating whether the module is native, meaning it is implemented in a language other than Move
- is_eventboolean
Whether the struct is a Move event struct
- is_enumboolean
Whether the struct is a Move enum
- abilitiesarray
The list of abilities or capabilities provided by the module
- generic_type_paramsarray
The generic type parameters associated with the module
- constraintsarray
Any constraints associated with the module
- typestring
(Optional) Move type parameter name when present in the module ABI
- variantsarray
Enum variants when is_enum is true
- fieldsarray
The list of fields defined within the module
- namestring
The module name
- typestring
The type of module