Accounts

Get account modules

This endpoint returns account resources for a specific ledger version (AKA transaction version). If not present, the latest version is used. <---- TODO Update this comment The Aptos nodes prune account state history, via a configurable time window (link). If the requested data has been pruned, the server responds with a 404

get/accounts/{address}/modules

Path parameters

addressstring required

Query parameters

ledger_versionstring

Response

bytecodestring required

Example response

[
  {
    "bytecode": "0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1"
  }
]

Changes