/getShardBlockProof REST API Endpoint
Query Parameters
workchain
integer
REQUIRED
Identifies the workchain
shard
string
REQUIRED
The shard identifier
seqno
integer
REQUIRED
The sequence number of the block
from_seqno
integer
The seqno of masterchain block starting from which proof is required. If not specified latest masterchain block is used
Returns
ok
boolean
A boolean indicating whether the request was successful
result
object
The result object which contains the following fields:
@type
string
The type of the result object
from
object
The from object which contains the following fields:
@type
string
The type of block
workchain
integer
The workchain ID of the originating block
shard
string
The shard identifier within the workchain
seqno
integer
The sequence number of the originating block
root_hash
string
The root hash of the originating blocks state
file_hash
string
The file hash of the originating block
mc_id
object
The mc_id object which contains the following fields:
@type
string
The type of block
workchain
integer
The workchain ID of the masterchain block
shard
string
The shard identifier of the masterchain
seqno
integer
Sequence number of the masterchain block
root_hash
string
The root hash of the masterchain blocks state
file_hash
string
The file hash of the masterchain block
links
array
An array that contains links to additional blocks
mc_proof
array
An array of proof links between the shard block and the masterchain block
@type
string
The type of the proof
to_key_block
boolean
A boolean indicating if the link is to a key block
from
object
The from object which contains the following fields:
@type
string
The type of block
workchain
integer
The workchain ID of the originating block
shard
string
The shard identifier
seqno
integer
The sequence number of the originating block
root_hash
string
The root hash of the originating blocks state
file_hash
string
The file hash of the originating block
to
object
The to object which contains the following fields:
@type
string
The type of block
workchain
integer
The workchain ID of the destination block
shard
string
The shard identifier
seqno
integer
Sequence number of the destination block
root_hash
string
The root hash of the destination block’s state
file_hash
string
The file hash of the destination block
dest_proof
string
The proof for the destination block, encoded in base64
proof
string
The proof data for the block, encoded in base64
state_proof
string
The proof of the state for the block, encoded in base64
@extra
string
Additional metadata used for internal processing, including the timestamp and performance metrics
Request
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/getShardBlockProof?workchain=-1&shard=-9223372036854775808&seqno=40921420' \2--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free