pub(crate) fn get_unspent(
    db: &Db,
    output_ref: &OutputRef
) -> Result<Option<(H256, u128)>>
Expand description

Gets the owner and amount associated with an output ref from the unspent table

Some if the output ref exists, None if it doesn’t