Skip to main content
GET
/
api
/
v2
/
getShards
Get shards
curl --request GET \
  --url https://toncenter.com/api/v2/getShards \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "result": {},
  "@extra": "<string>",
  "jsonrpc": "<string>",
  "id": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key header of the form X-API-Key: <token>, where <token> is your API key. Requests without a key are limited to 1 RPS. More info here.

Query Parameters

seqno
integer<int32>
required

Seqno of masterchain block

Response

Returns the list of active shard block identifiers at the specified masterchain block.

ok
boolean
default:true
required

Returns true if the request succeeded; otherwise false. See the error field for details.

result
object
required

The method return value. The structure depends on the method called; see individual method documentation for response schemas. Only present when ok is true.

@extra
string
required

Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.

jsonrpc
string

JSON-RPC protocol version identifier.

id
string

Echoed request identifier from the original JSON-RPC request.