Get account module
Retrieves an individual module from a given account and at a specific ledger version. If the ledger version is not specified in the request, the latest ledger version is used.
The Aptos nodes prune account state history, via a configurable time window. If the requested ledger version has been pruned, the server responds with a 410.
GET
Path Parameters
Address of account with or without a 0x
prefix
Example:
"0xc739507214d0e1bf9795485299d709e00024e92f7c0d055a4c2c39717882bdfd"
Name of module to retrieve e.g. coin
Query Parameters
Ledger version to get state of account
If not provided, it will be the latest version
Example:
"32425224034"
Response
200
application/json
Move module bytecode along with it's ABI