Retrieve both the scriptSig and the scriptWitness.
Declared in <wallet/coincontrol.h>
<wallet/coincontrol.h>
std::pair<std::optional<CScript>, std::optional<CScriptWitness>> GetScripts() const;
A pair holding the scriptSig and the scriptWitness, each set if provided.