Skip to main content
GET
Lookup block

Authorizations

X-API-Key
string
header
required

API key header of the form X-API-Key: <token>, where <token> is the API key. Requests without a key are limited to 1 RPS. Refer to the authentication guide for details.

Query Parameters

workchain
integer<int32>
required

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.

shard
string
required

The shard identifier. Masterchain always uses -9223372036854775808. For basechain, shards split and merge dynamically. Use the shards endpoint to discover current shard configuration.

seqno
integer<int32>

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.

lt
string

Logical time of a block

unixtime
integer<int32>

UNIX timestamp of a block

Response

Returns the full block identifier matching the given seqno, logical time, or unix timestamp.

ok
boolean
default:true
required

Returns true if the request succeeded; otherwise false. See the error field for details.

result
object
required

Response data. Present only when ok is true.

@extra
string

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.