eth_subscribe
Subscribes to specific event types and returns a subscription ID to receive asynchronous notifications via the eth_subscription
method.
Path parameters
apiKey
Request
This endpoint expects an object.
Subscription Type
The type of event to subscribe to (e.g., “newHeads”, “logs”, “newPendingTransactions”, “syncing”).
Options
Optional subscription parameters, such as filtering topics for logs
.
Response
A unique identifier for the subscription, returned as a 32-byte hex string.