reth icon indicating copy to clipboard operation
reth copied to clipboard

Introduce Receiptstream to rpc API

Open mattsse opened this issue 1 week ago • 1 comments
trafficstars

Describe the feature

followup to https://github.com/paradigmxyz/reth/issues/19681

we need to wire pending block aware streams to rpc

I think we can introduce a new eth trait for this like

https://github.com/paradigmxyz/reth/blob/abe6bf612580c8dd2640e02c4725be8398d0d622/crates/rpc/rpc-eth-api/src/helpers/call.rs#L53-L53

that is

pub trait EthSubscriptions: RpcNodeCore

and provides ways to obtain streams e.g. for new receipts like:

https://github.com/paradigmxyz/reth/blob/abe6bf612580c8dd2640e02c4725be8398d0d622/crates/rpc/rpc/src/eth/pubsub.rs#L378-L382

assigning @mablr

Additional context

No response

mattsse avatar Nov 12 '25 15:11 mattsse