Skip to content

Commit e099270

Browse files
authored
fix: specify wss should be from a node provider (#1034)
1 parent 57a515a commit e099270

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/base-chain/flashblocks/apps.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ Subscribe to real-time streams of Flashblocks data via WebSocket. Three subscrip
214214
import WebSocket from 'ws';
215215
import { createHash } from 'crypto';
216216

217-
const ws = new WebSocket('wss://sepolia.flashblocks.base.org/ws');
217+
// `ws` should be a WebSocket RPC URL, not from the Flashblock WebSocket Stream
218+
const ws = new WebSocket('wss://my-node.node-provider.com/ws');
218219

219220
ws.on('open', () => {
220221
console.log('Connected to Flashblocks WebSocket');

0 commit comments

Comments
 (0)