Skip to main content

Latest by Account

Fetch the latest FastData rows for one target account across all predecessor accounts.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://kv.main.fastnear.com
Authnone detected
Live Response

Responses from the selected endpoint appear here after you run a request.

Live response output will appear here after you run a request.

Request reference

application/json

This operation performs POST /v0/latest/{current_account_id} with an application/json request body.

Required request inputs: yes

POST /v0/latest/social.near
{
  "include_metadata": true,
  "key_prefix": "graph/follow/",
  "limit": 50
}

Request body schema

objectLatestRequest
include_metadataboolean

Include receipt and signer metadata in each entry.

Default: false

keystring

Exact key filter. Mutually exclusive with key_prefix.

key_prefixstring

Prefix filter for matching key namespaces.

limitinteger
page_tokenstring

Opaque pagination cursor from a previous response for the same endpoint and filter set.

Path parameters

current_account_id *string

Response reference

200 application/json

Latest rows for the selected contract

Response schema

objectListResponse
requires entries
entries *array
itemsobjectKvEntry
requires predecessor_id, current_account_id, block_height, block_timestamp, key, value
action_indexinteger
block_height *integer
block_timestamp *integer
current_account_id *string
key *string
predecessor_id *string
receipt_idstring
signer_idstring
tx_hashstring
value *value

Raw JSON value as stored in FastData.

page_tokenstring

Opaque pagination cursor for the next page. Absent when there are no more results.