All URIs are relative to http://public-mainnet-node.ethereum.org/api
Method | HTTP request | Description |
---|---|---|
Eventstream | Get /eth/v1/events | Subscribe to beacon node events |
string Eventstream(ctx, topics)
Subscribe to beacon node events
Provides endpoint to subscribe to beacon node Server-Sent-Events stream. Consumers should use eventsource implementation to listen on those events.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
topics | []string | Event types to subscribe to |
string
No authorization required
- Content-Type: Not defined
- Accept: text/event-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]