You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,11 +130,8 @@ let scanner = EventScanner::latest()
130
130
-`block_read_limit(usize)` – Sets the maximum number of blocks to process per read operation. This prevents RPC provider errors from overly large block range queries.
131
131
- Connect with `connect_ws::<Ethereum>(url)`, `connect_ipc::<Ethereum>(path)`, or `connect(provider)`.
132
132
133
-
**Mode-specific APIs:**
134
-
- Live: `client.stream()` – Start streaming new blocks
135
-
- Historical: `client.stream()` – Process historical range (configured during setup)
136
-
- Sync: `client.stream()` – Process historical then transition to live
137
-
- Latest: `client.stream()` – Process a set number of events
133
+
**Starting the Scanner:**
134
+
Invoking `scanner.start()` starts the scanner in the specified mode.
0 commit comments