Description

Get a table item at a specific ledger version from the table identified by {table_handle}
in the path and the "key" (RawTableItemRequest) provided in the request body.

The get_raw_table_item requires only a serialized key comparing to the full move type information
comparing to the get_table_item api, and can only return the query in the 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.

Authentication

Authentication is via an 'Authorization: Bearer YOUR_API_ACCESS_KEY' header (which you must add to the sample requests).

Path Params
string
required

Table handle hex encoded 32-byte string

Query Params
string

Ledger version to get state of account

If not provided, it will be the latest version

Body Params
string
required

All bytes (Vec) data is represented as hex-encoded string prefixed with 0x and fulfilled with
two hex digits per byte.

Unlike the Address type, HexEncodedBytes will not trim any zeros.

Headers
string
required

An API Access Key tied to the network you want to interact with (Testnet, Mainnet).

Responses

Response body
Headers
object
uint8

Chain ID of the current chain

uint64

Current ledger version of the chain

uint64

Oldest non-pruned ledger version of the chain

uint64

Current timestamp of the chain

uint64

Current epoch of the chain

uint64

Current block height of the chain

uint64

Oldest non-pruned block height of the chain

uint64

The cost of the call in terms of gas

string

Cursor to be used for endpoints that support cursor-based
pagination. Pass this to the start field of the endpoint
on the next call to get the next page of results.

Language