accounts

Get account

Return the authentication key and the sequence number for an account address:

curl --request GET \
  --url https://aptos.devnet.m1.movementlabs.xyz/accounts/address \
  --header 'Accept: application/json, application/x-bcs'

Get account resources

Retrieves all account resources for a given account and a specific ledger version. If the ledger version is not specified in the request, the latest ledger version is used.

curl --request GET \
  --url https://aptos.devnet.m1.movementlabs.xyz/accounts/address/resources \
  --header 'Accept: application/json, application/x-bcs'

Get account modules

Retrieves all account modules' bytecode for a given account at a specific ledger version. If the ledger version is not specified in the request, the latest ledger version is used.

curl --request GET \
  --url https://aptos.devnet.m1.movementlabs.xyz/accounts/address/modules \
  --header 'Accept: application/json, application/x-bcs'

with option params ledger_version, start, limit. The start returned in the X-Aptos-Cursor header in the response.

Get account resource

Retrieves an individual resource 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:

curl --request GET \
  --url https://aptos.devnet.m1.movementlabs.xyz/accounts/address/resource/resource_type \
  --header 'Accept: application/json, application/x-bcs'

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.

curl --request GET \
  --url https://aptos.devnet.m1.movementlabs.xyz/accounts/address/module/module_name \
  --header 'Accept: application/json, application/x-bcs'

Last updated