Module common

Module common 

Source
Expand description

Common transaction utilities shared across all blockchain networks.

This module contains utility functions and constants that are used across multiple blockchain domains (EVM, Solana, Stellar) to avoid cross-domain dependencies.

Functionsยง

get_age_of_sent_at
Gets the age of a transaction since it was sent.
is_active_nonce_status
Returns true if the status indicates the nonce slot is actively occupied (tx is in-flight or mined but not yet final). Used by nonce gap detection to distinguish real gaps from slots with active transactions.
is_final_state
Checks if a transaction is in a final state (confirmed, failed, canceled, or expired).
is_pending_transaction
is_unsubmitted_transaction