Finds a block by position or time. Specify workchain and shard, then provide either: seqno (exact block number), lt (find block containing this logical time), or unixtime (find block closest to this timestamp). Returns the full block ID including hashes needed for verification.
Request to find a block by workchain, shard, and either seqno, lt, or unixtime.
Workchain ID: -1 for masterchain, 0 for basechain. Most user transactions are on workchain 0.
Shard identifier. A signed 64-bit integer. Masterchain uses -9223372036854775808.
Block or wallet sequence number. For blocks, this is the block height. For wallets, increment this for each outgoing transaction.
Logical time of this event. A globally unique counter that orders all blockchain events. Higher values are more recent.
Unix timestamp to look up.
OK
Response containing the full block identifier.
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.