Skip to main content

matching_block_logs_with_tx_hashes

Function matching_block_logs_with_tx_hashes 

Source
pub fn matching_block_logs_with_tx_hashes<'a, I, R, C>(
    converter: &C,
    filter: &Filter,
    header: &SealedHeader<<<C as RpcConvert>::Primitives as NodePrimitives>::BlockHeader>,
    tx_hashes_and_receipts: I,
    removed: bool,
) -> Result<Vec<<<C as RpcConvert>::Network as RpcTypes>::Log>, <C as RpcConvert>::Error>
where I: IntoIterator<Item = (FixedBytes<32>, &'a R)>, R: TxReceipt<Log = Log> + 'a, C: RpcConvert, <C as RpcConvert>::Primitives: NodePrimitives<Receipt = R>,
Available on crate feature rpc only.
Expand description

Returns all matching and converted logs of a block’s receipts when the transaction hashes are known.