bdk_wallet

Type Alias WalletTx

Source
pub type WalletTx<'a> = CanonicalTx<'a, Arc<Transaction>, ConfirmationBlockTime>;
Expand description

A CanonicalTx managed by a Wallet.

Aliased Type§

struct WalletTx<'a> {
    pub chain_position: ChainPosition<ConfirmationBlockTime>,
    pub tx_node: TxNode<'a, Arc<Transaction>, ConfirmationBlockTime>,
}

Fields§

§chain_position: ChainPosition<ConfirmationBlockTime>

How the transaction is observed in the canonical chain (confirmed or unconfirmed).

§tx_node: TxNode<'a, Arc<Transaction>, ConfirmationBlockTime>

The transaction node (as part of the graph).