Block headers
Provides block headers without the payload, each time a new block appears on the blockchain.
Example Request
Started from latest block:
Started from block height 106195326
:
Started from block id cb27b014fa105a1e0e64d56cfbe2d7e140f4adf32938e38c3459592d01a72e91
:
Request Arguments
Name | Type | Required | Description |
---|---|---|---|
block_status | STRING | YES | The status of blocks to subscribe to. Supported values are: sealed , finalized . |
start_block_id | STRING | NO | The ID of the block from which the subscription starts. If this argument is set, it is not possible to set start_block_height . |
start_block_height | STRING | NO | The height of the block from which the subscription starts. If this argument is set, it is not possible to set start_block_id |
If neither start_block_id
nor start_block_height
is set, the subscription will start from the latest block based on its status.
Example Response