New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

5 min read

Method /getShardBlockProof undefined ()
connect with JSON-RPC protocol

/getShardBlockProof

info-circle-fill

Get merkle proof of shardchain block.

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

{
    "ok": true,
    "result": {
        "@extra": "1687338544.8136253:0:0.792949744681948",
        "@type": "blocks.shardBlockProof",
        "from": {
            "@type": "ton.blockIdExt",
            "file_hash": "yhFiArzGTVG04DNU0L+usdfOCwmpEFCjvouHKUluZ0I=",
            "root_hash": "SV/NmAOmNTzjkuJO9uyroF7jv0KEiJyNFd34Ye5AZsY=",
            "seqno": 30517698,
            "shard": "-9223372036854775808",
            "workchain": -1
        },
        "links": [],
        "mc_id": {
            "@type": "ton.blockIdExt",
            "file_hash": "t81TFPL17RLgqteZsYf64yY2EX18p/V5f3Z9itK1DrA=",
            "root_hash": "2a8ZfAc+YN+hWDxtnlj+lsmPxDljA1ur8XVvL52UB2s=",
            "seqno": 30497145,
            "shard": "-9223372036854775808",
            "workchain": -1
        },
        "mc_proof": [
            {
                "@type": "blocks.blockLinkBack",
                "dest_proof": "te6ccgECBwEAAUcACUYD2a8ZfAc+YN+hWDxtnlj+lsmPxDljA1ur8XVvL52UB2sAFgEkEBHvVar///8RAgMEBQGgm8ephwAAAAAEAQHRWXkAAAABAP////8AAAAAAAAAAGSRt6IAACMj2TWowAAAIyPZNajEIo3AWgAG3EgB0Vl1AdE5dMQAAAADAAAAAAAAAC4GKEgBAcbfDt4EasCGjPemonECEdBmFZHcjpVWsJUjbC3Tox0vAAMoSAEBZBsNxHAgiuaVY6i23SfCghiMAlUqoDQC0/YeayFULc4AFShIAQEU7xkWEeDam3oBjCjcCaf89NzbXoY2u5ZHYxRItDQGrwAHAJgAACMj2SZmhAHRWXiLzgJ0H2JOUL+uzLeQEb5EXdNNYjIbfnwvEeBoRsLGQP1wlslyGVcvgYNwMSOZJtCD+m57JpmyPW0kAztPZty8",
                "from": {
                    "@type": "ton.blockIdExt",
                    "file_hash": "yhFiArzGTVG04DNU0L+usdfOCwmpEFCjvouHKUluZ0I=",
                    "root_hash": "SV/NmAOmNTzjkuJO9uyroF7jv0KEiJyNFd34Ye5AZsY=",
                    "seqno": 30517698,
                    "shard": "-9223372036854775808",
                    "workchain": -1
                },
                "proof": "te6ccgECCQEAAfoACUYDSV/NmAOmNTzjkuJO9uyroF7jv0KEiJyNFd34Ye5AZsYAFgEkEBHvVar///8RAgMEBQGgm8ephwAAAAAEAQHRqcIAAAABAP////8AAAAAAAAAAGSSviEAACMoxs0wQAAAIyjGzTBEX71EWwAG3VcB0am9AdGHkcQAAAADAAAAAAAAAC4GKEgBAWMqeBZiIZ+BquwyDeAF+7RsNF8GxENzi5Ehggz7w7trAAMqigT/kRHeYUV9yOW6VS+I4ertCLrfza4DE2ZbwGDy375e60q5VRCujBM/LFFxtPiSlyMARs/Zce/TT8MSmrXj2tCCAW8BbwcIKEgBAcYmH6W+YAWl3VAQsLkfOO2sulzQjJfNyXel/0DrUgWKAAcAmAAAIyjGve4EAdGpwaffN1U4iqelPtYnIVOhNGqUqYn2MvScC4nyFkzmRyqX3xTonEnEtJWVAywzPykQRj2851JicjkAGScG2R2IoodojAED/5ER3mFFfcjlulUviOHq7Qi6382uAxNmW8Bg8t++Xuvoppc1TfCzjsduM2Keh8Mg79sEvyf6cwm1o2FF7h5TCQFvABRojAEDSrlVEK6MEz8sUXG0+JKXIwBGz9lx79NPwxKatePa0IJ6EULU7xRi3h2hnzwh8yy6hgD29f9GJ2Z8xMIxtt7zzQFvABQ=",
                "state_proof": "te6ccgECaAEAC74ACUYDSrlVEK6M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EIQcL8+vhyQmBNCueoZR4bjIOVAot5sAACShIAQFxPAUu9qwQkOr0ewWu+sTECCg6S9XfGZSMuzFXwGurtgAIIhEAAARkfC3r6JBYWSIRAAAEZHs0DxCQWlsoSAEBtNrsUAWDL0YlKsRvv97sflq0sKA4EL1yPpjsxPK0iK0AByhIAQHD5OV45FWsk59Tx4wPjdMK3B3P1rzi0hSjAfmjBjfHTQAGIhEAAARkezQPEJBcXShIAQGsFMoEcG/cqCGAdfJ2I0Qtb0K/oeWXJuxMYsQuxMtyOwAFIhEAAARkezQPEJBeXyhIAQFJG0S2YLHvPprNA1w4biUUUdE5Hdb2b2I650TngmerZAAEIhEAAARkezQPEJBgYShIAQHr3808rdJKY3dTOSD7CAiowXWS9etfiWMLkRT+koEfwgADIhEAAARkezQPEJBiYyIRAAAEZHsqhaiQZGUoSAEB5eBdomjKDQngFyrXkvZB9uoUlkNG5myv0ZLgvPv3mr8AAiIRAAAEZHsmtRiQZmcoSAEB/iSuVGXxuq8Kswd4WWVuBQiYLNCmMJ3XE37aItRIAeEAAShIAQGo8ceTbb8q1jfHgFfXofn9/2TsYNLOfmFEAqu6Dmth7AAAAKkAAARkeya1GIAAAjI9k1qMQB0Vl52a8ZfAc+YN+hWDxtnlj+lsmPxDljA1ur8XVvL52UB2u3zVMU8vXtEuCq15mxh/rjJjYRfXyn9Xl/dn2K0rUOsI",
                "to": {
                    "@type": "ton.blockIdExt",
                    "file_hash": "t81TFPL17RLgqteZsYf64yY2EX18p/V5f3Z9itK1DrA=",
                    "root_hash": "2a8ZfAc+YN+hWDxtnlj+lsmPxDljA1ur8XVvL52UB2s=",
                    "seqno": 30497145,
                    "shard": "-9223372036854775808",
                    "workchain": -1
                },
                "to_key_block": false
            }
        ]
    }
}
banner icon

Start Building with GetBlock RPCs for Free