Subscription methds
Subscription methods are available for WebSocket connections only, and allow you to wait for events instead of polling for them. For example, dapps can subscribe to logs and receive notifications when a specific event occurs.
The following subscription methods are available:
WebSocket support is limited to stateful WebSocket requests, for example using the
eth_subscribe
subscription method. Stateless WebSocket requests are not supported.
Polygon support for the newPendingTransactions
subscription type is currently unavailable but is coming soon.Last modified 1mo ago