Skip to main content

/v1/tables/{table_handle}/item REST API Endpoint

Retrieves a specific item from the table using {table_handle} in the path and the "key" provided in the request body (TableItemRequest) and returns the corresponding item at the specified ledger version.

Updated on
Oct 04, 2023

Path Parameters

table_handle
string
REQUIRED

The table handle, encoded in 32-byte hexadecimal format

Query Parameters

ledger_version
string

The ledger version to retrieve the account state

Body Parameters

key_type
string
REQUIRED

It specifies the data type of the key used to identify the required items within the table. It indicates the format of the key that will be provided to the API for the retrieval process. The key type can vary depending on the specific table and data schema, such as string, integer, or any other valid data type

value_type
string
REQUIRED

It specifies the data type of the value associated with the retrieved item. It indicates the format or structure of the data that will be returned by the API in response to the request. The value type can also vary based on the table schema and the nature of the stored data, such as string, integer, boolean, or more complex types like objects or arrays

key
string
REQUIRED

The value that uniquely identifies the item to be fetched from the table

Returns

result

The retrieved items from the specified table in a structured format, containing the data fields and values associated with the item

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