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.
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.
Query state at a specific block height. If omitted, returns the current state. Use this to look up historical data at a specific point in time.
Logical time of a block
UNIX timestamp of a block
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.