/v1/accounts/{address}/module/{module_name} REST API Endpoint
Path Parameters
address
string
REQUIRED
The address associated with the account
module_name
string
REQUIRED
The name of module to retrieve
Query Parameters
ledger_version
string
The ledger version at the time of retrieving the account module
Returns
bytecode
The bytecode representation of the module
abi
The Application Binary Interface (ABI) of the move module
address
The address of the Aptos account
name
The name of the module
friends
The module friends
exposed_functions
The public functions of the module
name
The module name
visibility
The visibility of the module i.e public, private or friend
is_entry
A flag indicating whether the function is an entry function
is_view
A flag indicating whether the function is a view function or not
generic_type_params
The generic type parameters associated with the Move function
constraints
Any constraints associated with the module
params
The parameters associated with the move function
return
The return type of the module
structs
The list of fields defined within the module
name
The name of the module
is_native
A flag indicating whether the module is native, meaning it is implemented in a language other than Move
abilities
The list of abilities or capabilities provided by the module
generic_type_params
The generic type parameters associated with the module
constraints
Any constraints associated with the module
fields
The list of fields defined within the module
name
The module name
type
The type of module
Request
1curl -X 'GET' 'https://docs-demo.aptos-mainnet.quiknode.pro/v1/accounts/0x190d44266241744264b964a37b8f09863167a12d3e70cda39376cfb4e3561e12/module/lp_account' \2-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free