/getShardBlockProof - The Open Network (TON)

Example code for the /getShardBlockProof json-rpc method. Сomplete guide on how to use /getShardBlockProof json-rpc in GetBlock.io Web3 documentation.

Parameters

workchain - query

required, integer

block workchain id

shard - query

required, integer

block shard id

seqno - query

required, integer

block seqno

from_seqno - query

optional, integer

Seqno of masterchain block starting from which proof is required. If not specified latest masterchain block is used.

Request

curl --location --request GET 'https://ton.getblock.io/mainnet/getShardBlockProof?workchain=-1&shard=-9223372036854775808&seqno=30497145' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json'

Response

Last updated

Was this helpful?