/v1/tables/{table_handle}/raw_item
POST
https://aptos-mainnet.g.alchemy.com/v2/docs-demo/v1/tables/{table_handle}/raw_item
Get a raw table item at a specific ledger version from the table identified by {table_handle} and the key provided in the request body.
The get_raw_table_item endpoint only requires a serialized key (hex string) and returns the value in binary canonical serialization (BCS) format.
The Aptos nodes prune account state history via a configurable time window. If the requested ledger version has been pruned, the server responds with a 410.
Headers
enumrequired
Must be set to application/x-bcs to receive the response in raw BCS format.
Allowed values:
Path Parameters
string
format: "hex"requiredTable handle — a hex encoded 32-byte Aptos address (with or without 0x prefix).
Query Parameters
string
format: "uint64"optionalLedger version to query state from. If omitted, the latest version will be used.
Request Body
Responses
200
Raw BCS response.
Was this page helpful?