Skip to main content

/v1/accounts/{address}/resource/{resource_type} REST API Endpoint

Retrieves an individual resource from the specified account at a particular ledger version. If the ledger version is not explicitly provided in the request, the latest ledger version is used.

Updated on
Oct 04, 2023

Path Parameters

address
string
REQUIRED

The address associated with the account.

resource_type
string
REQUIRED

The name of the struct to retrieve

Query Parameters

ledger_version
string

The ledger version to retrieve account state

Returns

type
string

The string representation of on-chain Move struct type

data
object

JSON representation of the on-chain Move resource. Fields vary based on the Move struct type indicated by type (for example, 0x1::account::Account includes authentication_key and sequence_number, while other struct types expose different fields).

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free