# Ethereum eth/v1/events RPC method

Provides endpoint to subscribe to the beacon node Server-Sent-Events stream. Consumers should use the eventsource (opens new window) implementation to listen on those events.

Servers may send SSE comments beginning with : for any purpose, including to keep the event stream connection alive in the presence of proxy servers.

Parameters:

Returns:

  • dataobject with:
    • slotstring
    • blockstring
    • statestring
    • epoch_transitionboolean
    • previous_duty_dependent_rootstring
    • current_duty_dependent_rootstring
    • execution_optimisticboolean

Example:

curl -H "accept: text/event-stream" -X GET "https://beacon-nd-123-456-789.p2pify.com/3c6e0b8a9c15224a8228b9a98ca1531d/eth/v1/events?topics=head"