Struct bdk::wallet::coin_selection::CoinSelectionResult
source · [−]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 in satoshi
Implementations
sourceimpl CoinSelectionResult
impl CoinSelectionResult
sourcepub fn selected_amount(&self) -> u64
pub fn selected_amount(&self) -> u64
The total value of the inputs selected.
sourcepub fn local_selected_amount(&self) -> u64
pub fn local_selected_amount(&self) -> u64
The total value of the inputs selected from the local wallet.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CoinSelectionResult
impl Send for CoinSelectionResult
impl Sync for CoinSelectionResult
impl Unpin for CoinSelectionResult
impl UnwindSafe for CoinSelectionResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more