ドキュメント
料金GitHubダッシュボード

TON

getShardBlockProof30クレジット

Returns the proof that a shard block is part of the chain, linked to a masterchain block.

ネットワーク: ton

パラメータ

名前型説明
workchainnumberWorkchain id: -1 for the masterchain, 0 for the basechain.
shardnumberShard id (int64). Pass it as a string, as JSON numbers lose precision beyond 2^53: "-9223372036854775808" is the masterchain shard.
seqnonumberBlock seqno.
from_seqnonumberSeqno of the masterchain block to build the proof from. The latest one when omitted. (任意)

戻り値

型

Object

from and mc_id (block ids), links (the chain of shard blocks) and mc_proof.

コード例

curl https://holy-burned-sky-ton-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getShardBlockProof",
  "params": {
    "workchain": 0,
    "shard": "-9223372036854775808",
    "seqno": 45000000
  }
}'