cuprate_blockchain::ops::alt_block

Function 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.