Fetch and validate coin control selected inputs. Coins could be internal (from the wallet) or external.
Declared in <wallet/spend.h>
[[requires_capability(0x7f2e1e656290)]]
util::Result<CoinsResult>
FetchSelectedInputs(
CWallet const& wallet,
CCoinControl const& coin_control,
CoinSelectionParams const& coin_selection_params);
The fetched and validated selected inputs, or an error on failure.
| Name | Description |
|---|---|
| wallet | The wallet used to look up and validate internal inputs. |
| coin_control | Coin control settings holding the manually selected inputs. |
| coin_selection_params | Parameters used when computing each input's value. |