accounts
state
Get account resources
get/accounts/{address}/resources
Path parameters
addressstring address required
Hex-encoded 16 bytes Aptos account address.
Prefixed with 0x and leading zeros are trimmed.
See doc for more details.
Example:0xdd
Query parameters
versionstring uint64
The version of the latest transaction in the ledger.
Example:52635485
Response
This API returns account resources for a specific ledger version (AKA transaction version). If not present, the latest version is used.
The Aptos nodes prune account state history, via a configurable time window (link).
If the requested data has been pruned, the server responds with a 404
Example response
[
{
"type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>",
"data": {
"coin": {
"value": "8000000000"
}
}
}
]