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

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

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
The string representation of on-chain Move struct type
data
The additional data or information related to the account resource
authentication_key
The authentication key associated with the account to verify the identity of account owner
coin_register_events
The events associated with coin registration for the specified response
counter
The counter value associated with a particular operation
guid
The unique identifier (GUID) of the resource
id
The resource identifier
addr
The address associated with the resource
creation_num
The creation number of the resource
self_address
The address associated with the account for which the resources are being retrieved
sequence_number
The sequence number tracks the order of transactions initiated by the account
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free