pub struct CoinSelectionResult {
    pub selected: Vec<Utxo>,
    pub fee_amount: u64,
    pub excess: Excess,
}
Expand description

Result of a successful coin selection

Fields§

§selected: Vec<Utxo>

List of outputs selected for use as inputs

§fee_amount: u64

Total fee amount for the selected utxos in satoshis

§excess: Excess

Remaining amount after deducing fees and outgoing outputs

Implementations§

The total value of the inputs selected.

The total value of the inputs selected from the local wallet.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.