Type Alias bdk_wallet::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<&'a ConfirmationBlockTime>,
    pub tx_node: TxNode<'a, Arc<Transaction>, ConfirmationBlockTime>,
}

Fields§

§chain_position: ChainPosition<&'a ConfirmationBlockTime>

How the transaction is observed as (confirmed or unconfirmed).

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

The transaction node (as part of the graph).