eth_subscription notifications without the client needing to poll.
The public Base endpoints (
mainnet.base.org, sepolia.base.org) are HTTP only. WebSocket connections are not available on public Base endpoints — use a node provider such as Alchemy or QuickNode that offers WebSocket support for Base.Parameters
The event type to subscribe to.
Optional filter options. Only applicable for the
"logs" subscription type.Subscription Types
Returns
A hex-encoded subscription ID. All event notifications from this subscription include this ID in
params.subscription.