Subscribe to the sequencer firehose: every L2 message the sequencer publishes, decoded to transactions ~100–300ms before they are queryable over RPC. Reconnects automatically with exponential backoff.
const sub = await subscribeFeed((msg) => { for (const tx of msg.transactions) console.log(tx.hash, tx.transaction.to)})// later: sub.close() Copy
const sub = await subscribeFeed((msg) => { for (const tx of msg.transactions) console.log(tx.hash, tx.transaction.to)})// later: sub.close()
Subscribe to the sequencer firehose: every L2 message the sequencer publishes, decoded to transactions ~100–300ms before they are queryable over RPC. Reconnects automatically with exponential backoff.