EVM WebSocket API
Use the EVM websocket family when the runtime needs native JSON-RPC subscriptions instead of the product-level market stream contract.
Use the product-level Market WebSocket for market events. Stay here only when you need native EVM subscription semantics.
Current route family
Endpoints
ethereum route
/v1/ethereum/{API_KEY}bnbchain route
/v1/bnbchain/{API_KEY}base route
/v1/base/{API_KEY}arbitrum route
/v1/arbitrum/{API_KEY}optimism route
/v1/optimism/{API_KEY}polygon route
/v1/polygon/{API_KEY}Method examples use /v1/ethereum/{api_key}. Switch the route to
another enabled EVM websocket endpoint when needed.
Reviewed method groups
Reviewed EVM topics
The current public method pages focus on the reviewed Ethereum-style subscription topics exposed on the hosted EVM websocket family.
newHeadsReceive one notification for each new canonical head on the hosted EVM route.logsSubscribe to filtered log notifications over the hosted EVM route.newPendingTransactionsReceive one notification for each pending transaction hash on the hosted EVM route.syncingReceive sync-status updates over the hosted EVM route.
Related pages
- EVM overview: return to the EVM family landing page.
- EVM HTTP API: open the request-response raw RPC reference tree.
- Use RPC WebSocket: return to the task-oriented websocket guide.
Last updated on