Trait reth_storage_api::RequestsProvider
source · pub trait RequestsProvider: Send + Sync {
// Required method
fn requests_by_block(
&self,
id: BlockHashOrNumber,
timestamp: u64,
) -> ProviderResult<Option<Requests>>;
}
Expand description
Client trait for fetching EIP-7685 [Requests] for blocks.
Required Methods§
sourcefn requests_by_block(
&self,
id: BlockHashOrNumber,
timestamp: u64,
) -> ProviderResult<Option<Requests>>
fn requests_by_block( &self, id: BlockHashOrNumber, timestamp: u64, ) -> ProviderResult<Option<Requests>>
Get withdrawals by block id.