Subscribe
API Reference
Subscribe
Subscribe to notifications for given topics. The client will receive notifications for the topics it has subscribed to. The client can subscribe to multiple topics.
POST
Subscribe
Documentation Index
Fetch the complete documentation index at: https://docs.primev.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
List of topics to subscribe to. Available topics:
- peer_connected: Emitted when a peer connects to the network
- peer_disconnected: Emitted when a peer disconnects from the network
- validator_opted_in: Emitted before an upcoming L1 block proposer has opted in to the mev-commit protocol
- epoch_validators_opted_in: Emitted at the beginning of an epoch, specifying any slots where the L1 validator is opted-in to mev-commit
- provider_slashed: Emitted when the provider node is slashed.
- commitment_store_failed: Emitted when the commitment storing transaction fails.
- commitment_open_failed: Emitted when the commitment opening transaction fails.
Example:
["peer_connected", "validator_opted_in"]