/eth/v1/events RPC Method
Parameters
topics
string
REQUIRED
The event types to subscribe to. The available values: head, block, attestation, voluntary_exit, finalized_checkpoint, chain_reorg, contribution_and_proof.
Returns
data
object
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 --location 'https://docs-demo.vana-mainnet.quiknode.pro/eth/v1/events?topics=head' \2--header 'accept: text/event-stream'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free