/v1/accounts/{address}/resource/{resource_type}
GET
https://aptos-mainnet.g.alchemy.com/v2/docs-demo/v1/accounts/{address}/resource/{resource_type}
Retrieves an individual resource from a given account and at a specific ledger version. If the ledger version is not specified, the latest ledger version is used.
Path Parameters
stringrequired
Address of account with or without a 0x prefix.
stringrequired
Name of the Move struct resource to retrieve (e.g. 0x1::account::Account).
Query Parameters
stringoptional
Ledger version to get the state of the account.
Responses
200
The resource data for the specified type.
Was this page helpful?