Skip to main content

Block Shard

Fetch a single shard document for a given finalized block and shard ID. This embed preloads shard 0 from the genesis block so the first request works without any extra typing.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://mainnet.neardata.xyz
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

GET

This operation performs GET /v0/block/{block_height}/shard/{shard_id}.

Required request inputs: yes

GET /v0/block/9820210/shard/0

Path parameters

block_height *string
shard_id *string

Query parameters

apiKeystring

Response reference

200 application/json

Requested document, or null when the selected slice is absent

Response schema

object

Shard object for the requested shard ID.