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.
The Aptos nodes prune account state history, via a configurable time window. If the requested ledger version has been pruned, the server responds with a 410.
GET
Path Parameters
Address of account with or without a 0x
prefix
Example:
"0xc739507214d0e1bf9795485299d709e00024e92f7c0d055a4c2c39717882bdfd"
Name of struct to retrieve e.g. 0x1::account::Account
Example:
"0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>"
Query Parameters
Ledger version to get state of account
If not provided, it will be the latest version
Example:
"32425224034"
Response
200
application/json
A parsed Move resource