Blocks

Returns all archived block data. While user commands and snark work is also available, they each have dedicated collections to ease the querying and filtering of very deeply nested objects.

Return the last 10 blocks from the canonical chain

GraphQL
Copy

Find all blocks produced by a public key

This query returns all blocks seen by the explorer node, whether on the canonical chain or not.

GraphQL
Copy

Find all blocks produced past a certain date

Add a date filter to limit your blocks by date.

GraphQL
Copy

Find a block by state hash

Get the full details for a block based on the protocol state hash of the block.

When returning a single result, you can use the block query. The blocks query will return multiple matching results.

GraphQL
Copy

Find a canonical block by height

Find the canonical block for a specific height. Remember that a canonical block can be updated for k blocks before it reaches finality!

GraphQL
Copy

Return all blocks between two heights

Filter your queries based on the block height to retrieve a range of blocks based on height.

GraphQL
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Gareth Davies