Skip to main content

Blocks

Retrieve block headers, transaction lists, and consensus metadata for any block on XYZ Chain.

Get Latest Block

Returns the most recently finalized block.

Key Fields

Get Block by Height

Retrieve a specific block by its height.
The response format is identical to the latest block endpoint.

Errors

Useful Patterns

Check Current Block Height

Get Block Timestamp

Count Transactions in a Block