wallet::CCoinControl::GetScripts

Retrieves the scriptSig and scriptWitness for an input.

Synopsis

Declared in <wallet/coincontrol.h>

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

Return Value

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

Parameters

NameDescription
outpointThe output to look up.