wallet::PreselectedInput::GetScripts

Retrieve both the scriptSig and the scriptWitness.

Synopsis

Declared in <wallet/coincontrol.h>

std::pair<std::optional<CScript>, std::optional<CScriptWitness>>
GetScripts() const;

Return Value

A pair holding the scriptSig and the scriptWitness, each set if provided.