Function zebra_state::service::read::block::transaction

source ·
fn transaction<C>(
    chain: Option<C>,
    db: &ZebraDb,
    hash: Hash
) -> Option<(Arc<Transaction>, Height)>
where C: AsRef<Chain>,
Expand description

Returns the Transaction with transaction::Hash, if it exists in the non-finalized chain or finalized db.