Parameters
chainId
string
default:"toncoin"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"shards"
required
JSON-RPC method name.
TON shard descriptor request.Parameters for shards:params.seqno: Masterchain block sequence number.
Returns
TON shard descriptors.
Shard block identifiers.
TON extended block identifier.
Block workchain ID. The masterchain uses -1.
Block shard ID encoded as a signed 64-bit integer string.
Provider-specific response metadata.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=toncoin \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "shards",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}