/eth/v1/events
Subscribe to beacon node events
Gives subscribers to the beacon node's Server-Sent-Events stream an endpoint. To listen in on those events, users need use event source implementation.
SSE comments starting with: may be sent by servers for any reason, including maintaining the event stream connection when proxy servers are present.
Example Request and Result for /v1/events
In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/events
endpoint. Additionally, we present the resulting response containing information about the node events subscription.
Parameters
Examples of responses:
Media type: text/event-stream; Topics: head
Opened SSE stream.
Example Value | Schema
Example Description
The node has finished processing, resulting in a new head. previous_duty_dependent_root is get_block_root_at_slot(state, compute_start_slot_at_epoch(epoch - 1) - 1)
and current_duty_dependent_root is get_block_root_at_slot(state, compute_start_slot_at_epoch(epoch) - 1)
. Both dependent roots use the genesis block root in the case of underflow.
Media type: text/event-stream; Topics: block
Example Value | Schema
Media type: text/event-stream; Topics: attestation
Example Value | Schema
Media type: text/event-stream; Topics: voluntary_exit
Example Value | Schema
Media type: text/event-stream; Topics: bls_to_execution_change
Example Value | Schema
Media type: text/event-stream; Topics: finalized_checkpoint
Example Value | Schema
Media type: text/event-stream; Topics: chain_reorg
Example Value | Schema
Media type: text/event-stream; Topics: contribution_and_proof
Example Value | Schema
Media type: text/event-stream; Topics: light_client_finality_update
Example Value | Schema
Media type: text/event-stream; Topics: light_client_optimistic_update
Example Value | Schema
Media type: text/event-stream; Topics: payload_attributes
Example Value | Schema
The example in this section uses a non-existing project id.
Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Subscribe to beacon node events
GET
https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/events
Query Parameters
Curl Request example
Last updated