Get account resource
GET/accounts/:address/resources/:resource_type
Returns the resource for an account address. You can specify the ledger version of the transaction; if no ledger version is specified, the latest ledger version is returned. 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.
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