GETGet blocks
https://ton-mainnet.nodit.io/api/v3/blocksReturn blocks that match the specified filters.
Workchain of the block.
Shard ID of the block. Provide this parameter with workchain. Example: 8000000000000000.
Sequence number of the block. Provide this parameter with workchain and shard.
Root hash of the block.
File hash of the block.
Masterchain block sequence number.
Query blocks with a generation timestamp at or after the specified timestamp.
Query blocks with a generation timestamp at or before the specified timestamp.
Query blocks where lt is at or above the specified value.
Query blocks where lt is at or below the specified value.
Limit the number of rows to return. Use with offset to batch requests.
Skip the first N rows. Use with limit to batch requests.
Sort blocks by generation timestamp.
Returns true if this block was created immediately after a shard merge; otherwise false.
Returns true if this block was created immediately after a shard split; otherwise false.
Returns true if this shard will split after this block; otherwise false.
256-bit public key of the validator that created this block, base64 encoded.
Logical time (lt) at the end of this block, as a decimal string. All transactions in this block have lt between start_lt and end_lt.
Example: 0
Hash of the serialized block file, base64 encoded. Together with root_hash, uniquely identifies a block.
Bit flags from the block header. Bit 0 indicates that the header includes the software version (gen_software) of the validator that generated the block.
Catchain sequence number of the validator session that generated this block.
Unix timestamp in seconds when this block was generated, as a decimal string.
Example: 0
Global network ID (-239 for mainnet, -3 for testnet).
Returns true if this is a key block containing validator set changes or config updates; otherwise false.
Sequence number (seqno) of the masterchain block that this shard block references. 0 for masterchain blocks.
Identifier (workchain, shard, seqno) of the masterchain block in which this block was committed. For a masterchain block, it refers to the block itself.
Block sequence number within its workchain and shard.
Shard identifier as a hexadecimal string, for example 8000000000000000.
Example: 0
Workchain ID: -1 for the masterchain, 0 for the basechain.
Minimum masterchain block seqno referenced by this block.
Array of previous block identifiers (workchain, shard, seqno). Usually contains one entry, but two after a shard merge.
Block sequence number within its workchain and shard.
Shard identifier as a hexadecimal string, for example 8000000000000000.
Example: 0
Workchain ID: -1 for the masterchain, 0 for the basechain.
Sequence number of the previous key block.
256-bit random seed of this block, base64 encoded.
Root hash of the block, base64 encoded. Together with file_hash, uniquely identifies a block.
Block sequence number within its workchain and shard.
Shard identifier as a 64-bit value in hexadecimal. The masterchain uses 8000000000000000.
Example: 0
Logical time (lt) at the start of this block, as a decimal string.
Example: 0
Number of transactions included in this block.
Short hash of the validator set active during this block.
Block format version number.
Vertical sequence number of the block, which is the number of vertical (hard fork) blocks that precede it.
Returns true if this block increments the vertical sequence number, meaning it is a vertical (hard fork) block; otherwise false.
Returns true if validators have signaled a preference to merge this shard; otherwise false.
Returns true if validators have signaled a preference to split this shard; otherwise false.
Workchain ID: -1 for the masterchain, 0 for the basechain.