Skip to main content

load_transaction_state

Function load_transaction_state 

Source
pub async fn load_transaction_state(
    user_id: Uuid,
    transaction_id: Uuid,
) -> Result<Option<TransactionState>, ServerError>
Expand description

Builds a TransactionState for a single transaction id: the transaction, its splits, and every stored transaction and split tag, so script guards see what is already there, with the revision of exactly what was loaded for the write-back to verify.

ยงErrors

A failing read.