Parameters
string
default:"toncoin"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"getBlockHeader"
required
JSON-RPC method name.
object
required
TON block header lookup request.Parameters for
getBlockHeader:params.workchain: Block workchain ID. The masterchain uses -1.params.shard: Block shard ID encoded as a signed 64-bit integer string. The masterchain shard is -9223372036854775808.params.seqno: Sequence number of the block to retrieve.params.root_hash: Optional block root hash. Providers may use this to disambiguate or validate the requested block.params.file_hash: Optional block file hash. Providers may use this to disambiguate or validate the requested block.
Returns
object
TON block header metadata.