PreciosGitHubPanel

Aptos

/v1/accounts/{address}/modules25 créditos

Get account modules

Red: apt

Parámetros

NombreTipoDescripción
addressstringPath. Account address, with or without the 0x prefix.
ledger_versionstring (u64)Query. Ledger version to read the account state at. Defaults to the latest version. (opcional)
startstringQuery. Pagination cursor. It cannot be built client-side: call once without it and take the cursor from the X-Aptos-Cursor response header. (opcional)
limitintegerQuery. Max number of modules to return. Defaults to the node page size. (opcional)

Valor devuelto

Tipo

object[]

Array of Move modules, each with bytecode (hex) and abi (module name, address, exposed functions, structs).

Ejemplos de código

curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/accounts/{address}/modules'