Get account resources
GET/accounts/:address/resources
Retrieves all resources for a given account at the ledger version of a specific transaction. If no ledger version is specified, the latest ledger version is used. Aptos nodes prune account state history according to a configurable retention period. If the requested ledger version has been pruned, the server responds with a 410 status code.
As the latest version of the Aptos node client excludes the Legacy Indexer, Indexer-related errors may occur when making some API calls. We are currently reviewing options to restore this functionality or provide alternative APIs, and will provide updates as related measures are completed. We apologize for any inconvenience.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 410
- 429
Successful Response
Response Headers
Current block height of the chain
Chain ID of the current chain
Current epoch of the chain
Oldest unpruned ledger version of the chain
Current timestamp of the chain
Current ledger version of the chain
Oldest unpruned block height of the chain
Cursor for the next page
Amount of gas actually used for transaction execution
Bad Request
Unauthorized
Forbidden
Not Found
Block Pruned
Too Many Requests