/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.

⚠ This endpoint is only available with Blast access.

Path parameters

addressstringRequired
Address of account with or without a 0x prefix.
resource_typestringRequired

Name of the Move struct resource to retrieve (e.g. 0x1::account::Account).

Query parameters

ledger_versionstringOptional
Ledger version to get the state of the account.

Response

The resource data for the specified type.
typestring or null

String representation of a MoveStructTag (e.g. 0x1::account::Account).

datamap from strings to any or null
JSON representation of Move struct data within the resource.