Skip to main content

/v1/accounts/{address}/resources REST API Endpoint

Retrieves all the account resources from the specified account at a particular ledger version. If the ledger version is not explicitly provided in the request, the latest ledger version is used.

Updated on
Oct 4, 2023

/v1/accounts/{address}/resources REST API Endpoint

Path Parameters

address
string
REQUIRED
The address associated with the account.

Query Parameters

ledger_version
string
REQUIRED
The ledger version to retrieve account state
limit
integer
The maximum number of resources to retrieve per request
start
string
The starting point or offset for retrieving resources

Returns

type
The string representation of on-chain Move struct type
data
The additional data or information related to the account resource
authentication_key
The authentication key associated with the account to verify the identity of account owner
coin_register_events
The events associated with coin registration for the specified response
counter
The counter value associated with a particular operation
guid
The unique identifier (GUID) of the resource
id
The resource identifier
addr
The address associated with the resource
creation_num
The creation number of the resource
self_address
The address associated with the account for which the resources are being retrieved
sequence_number
The sequence number tracks the order of transactions initiated by the account
Request
1
curl -X 'GET' https://docs-demo.aptos-mainnet.quiknode.pro/v1/accounts/0xd647e8636b31d174256c31f0c35235ba25efd6d216617640991978cb4eadd000/resources/ \
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