Skip to main content
GET
Get blocks

Query Parameters

workchain
integer

Block workchain.

shard
string

Block shard id. Must be sent with workchain. Example: 8000000000000000.

seqno
integer

Block block seqno. Must be sent with workchain and shard.

root_hash
string

Block root hash.

file_hash
string

Block file hash.

mc_seqno
integer

Masterchain block seqno

start_utime
integer

Query blocks with generation UTC timestamp after given timestamp.

end_utime
integer

Query blocks with generation UTC timestamp before given timestamp.

start_lt
integer

Query blocks with lt >= start_lt.

end_lt
integer

Query blocks with lt <= end_lt.

limit
integer
default:10

Limit number of queried rows. Use with offset to batch read.

offset
integer
default:0

Skip first N rows. Use with limit to batch read.

sort
enum<string>
default:desc

Sort results by UTC timestamp.

Available options:
asc,
desc

Response

OK

blocks
object[]