Trait reth_provider::TransactionsProviderExt

pub trait TransactionsProviderExt:
    BlockReader
    + Send
    + Sync {
    // Required method
    fn transaction_hashes_by_range(
        &self,
        tx_range: Range<u64>,
    ) -> Result<Vec<(FixedBytes<32>, u64)>, ProviderError>;

    // Provided method
    fn transaction_range_by_block_range(
        &self,
        block_range: RangeInclusive<u64>,
    ) -> Result<RangeInclusive<u64>, ProviderError> { ... }
}
Expand description

Client trait for fetching additional [TransactionSigned] related data.

Required Methods§

fn transaction_hashes_by_range( &self, tx_range: Range<u64>, ) -> Result<Vec<(FixedBytes<32>, u64)>, ProviderError>

Get transaction hashes from a transaction range.

Provided Methods§

fn transaction_range_by_block_range( &self, block_range: RangeInclusive<u64>, ) -> Result<RangeInclusive<u64>, ProviderError>

Get transactions range by block range.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<'a, T> TransactionsProviderExt for &'a T

§

impl<T> TransactionsProviderExt for Arc<T>

Implementors§