Function cuprate_blockchain::ops::alt_block::get_alt_transaction

source ·
pub fn get_alt_transaction(
    tx_hash: &TxHash,
    tables: &impl Tables,
) -> Result<VerifiedTransactionInformation, RuntimeError>
Expand description

Retrieve a VerifiedTransactionInformation from the database.

§Errors

This function returns RuntimeError::KeyNotFound if the input (if applicable) doesn’t exist or other RuntimeError’s on database errors.