Blocks
blocks
Access to all TON blocks data.
In our database we store these block fields: Blocks
Using this method you can filter data by any of these fields and also request any of thedse fields. In addition you can apply Filters, Aggregations and Pagination.
Example:
https://dton.io/graphql/
{
blocks(workchain: -1, page_size: 3) {
seqno
gen_utime__utc_human
shards_seqno
shards_shard
}
}
blocksCount
This is simple method returning number of all blocks in blockchain
https://dton.io/graphql/
{
blocksCount
}