[#wallet-FetchSelectedInputs] = xref:wallet.adoc[wallet]::FetchSelectedInputs :relfileprefix: ../ :mrdocs: Fetch and validate coin control selected inputs. Coins could be internal (from the wallet) or external. == Synopsis Declared in `<wallet/spend.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1e656290)]] xref:util/Result.adoc[util::Result<CoinsResult>] FetchSelectedInputs( xref:wallet/CWallet.adoc[CWallet] const& wallet, xref:wallet/CCoinControl.adoc[CCoinControl] const& coin_control, xref:wallet/CoinSelectionParams.adoc[CoinSelectionParams] const& coin_selection_params); ---- == Return Value The fetched and validated selected inputs, or an error on failure. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#