Documentation Index
Fetch the complete documentation index at: https://seilabs-docs-evm-reference-and-sei-js-examples.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
WebSocket Connections
Sei supportseth_subscribe over WebSocket. You can subscribe to new blocks, event logs, and pending transactions using standard library WebSocket transports.
Endpoints
| Network | WebSocket endpoint |
|---|---|
| Mainnet | wss://evm-ws.sei-apis.com |
| Testnet | wss://evm-ws-testnet.sei-apis.com |
| Devnet | wss://evm-ws-arctic-1.sei-apis.com |
Connecting
Watching New Blocks
Watching Contract Events
Watching ERC-20 Transfers Across All Contracts
Notes
- Sei’s instant finality means every block emitted over WebSocket is already final — no need to wait for additional confirmations before acting on an event.
- Pending transaction subscriptions (
newPendingTransactions) are supported at the RPC level but Sei does not guarantee Ethereum-style pending state visibility.