Returns block metadata without the full transaction list. Includes timestamps, validator info, and references to previous blocks. Use this for block explorers or when you need block info but not the transactions inside.
The workchain to query. Use -1 for masterchain (validators, system contracts, config) or 0 for basechain (regular accounts and contracts). Most user transactions happen on workchain 0.
The shard identifier. Masterchain always uses -9223372036854775808. For basechain, shards split and merge dynamically. Use the shards endpoint to discover current shard configuration.
The block sequence number. Each shard numbers its blocks starting from 0. For masterchain, this is also called the block height. Higher numbers are more recent blocks.
The block's root hash for verification. Together with file_hash, this uniquely and cryptographically identifies a block. Only needed when you require proof of block identity.
The block's file hash for verification. Together with root_hash, this provides cryptographic proof of block identity. Only needed for trustless verification.
OK
Response containing block header information.
Indicates if the request succeeded. If false, check the error field for details.
The response data. Only present when ok is true.
Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.