eth-v1-events RPC Method
Parameters
topics
array[string]
The event types to subscribe to. The available values: head, block, attestation, voluntary_exit, finalized_checkpoint, chain_reorg, contribution_and_proof.
Returns
data
The object with the following values:
slot
string
The corresponding slot
block
string
The information about the specified block
state
string
The activation state
current_duty_dependent_root
string
The current duty dependent root
previous_duty_dependent_root
string
The previous duty dependent root
epoch_transition
boolean
The epoch transition
execution_optimistic
boolean
It's true if the response references an unverified execution payload. The optimistic information may be invalidated at a later time. If the field is not present, assume the false value
Request
1curl -X GET \2"https://docs-demo.xdai.quiknode.pro/eth/v1/events?topics=head" \3-H "accept: text/event-stream"
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free