Method reference
eth_subscribe
Opens a subscription over WebSocket: newHeads pushes each new block header, logs pushes matching events, and newPendingTransactions pushes mempool transaction hashes where the node exposes them. It replaces polling, and it only works over WebSocket, not HTTP.
newHeads worked on 50 of 54 chains through our WebSocket endpoint; newPendingTransactions on 0.
eth_subscribe on 50 chains, measured
Measured 2026-11-29 by calling eth_subscribe through the SwiftNodes endpoint for each chain, re-measured weekly. Each chain links to its own page with the full response and code.
| Chain | newHeads | logs | newPendingTransactions |
|---|---|---|---|
| Abstract | yes | no | no |
| ApeChain | yes | no | no |
| Arbitrum | yes | no | no |
| Arbitrum Nova | yes | no | no |
| Avalanche | yes | no | no |
| Base | yes | no | no |
| Berachain | yes | no | no |
| BNB Smart Chain | yes | no | no |
| Boba Network | yes | no | no |
| Celo | yes | no | no |
| Chiliz | yes | no | no |
| Core | yes | no | no |
| Cronos | yes | no | no |
| Ethereum | yes | no | no |
| Ethereum Classic | yes | no | no |
| Fantom | yes | no | no |
| Flare | yes | no | no |
| Fraxtal | yes | no | no |
| Gnosis | yes | no | no |
| Hemi | yes | no | no |
| Hyperliquid | yes | no | no |
| Immutable zkEVM | yes | no | no |
| Ink | yes | no | no |
| Kaia | yes | no | no |
| Katana | yes | no | no |
| Linea | yes | no | no |
| Lisk | yes | no | no |
| Manta Pacific | yes | no | no |
| Mantle | yes | no | no |
| MegaETH | yes | no | no |
| Mode | yes | no | no |
| Monad | yes | no | no |
| Morph | yes | no | no |
| opBNB | yes | no | no |
| Optimism | yes | no | no |
| Plasma | yes | no | no |
| Polygon | yes | no | no |
| PulseChain | yes | no | no |
| Scroll | yes | no | no |
| Sei | yes | no | no |
| Soneium | yes | no | no |
| Sonic | yes | no | no |
| Story | yes | no | no |
| Taiko | yes | no | no |
| Telos EVM | yes | no | no |
| Tempo | yes | no | no |
| Unichain | yes | no | no |
| World Chain | yes | no | no |
| X Layer | yes | no | no |
| zkSync Era | yes | no | no |
Not served through our endpoint when measured: Shibarium, Zora, BOB, Ronin.
Replace YOUR_API_KEY in the examples on each chain page with your SwiftNodes key (free tier available).