Function is_final_state

Source
pub fn is_final_state(tx_status: &TransactionStatus) -> bool
Expand description

Checks if a transaction is in a final state (confirmed, failed, canceled, or expired).

Final states are terminal states where no further status updates are expected. This is used across all blockchain implementations to determine if a transaction has completed processing.

§Arguments

  • tx_status - The transaction status to check

§Returns

true if the transaction is in a final state, false otherwise