eth_subscribe to receive logs from pre-confirmed transactions matching an optional filter. Useful for monitoring contract events with sub-block latency.
This subscription requires a WebSocket-enabled RPC endpoint. The public Base endpoints (
mainnet.base.org, sepolia.base.org) are HTTP only. Choose a Flashblocks-capable WebSocket provider from the Base Services Hub.Requires base/base minimum client version v0.3.1.
Parameters
string
required
Must be
"pendingLogs".object
Optional log filter.
Returns
string
Hex-encoded subscription ID.