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
Name |
Description |
outpoint |
The output to look up. |
Created with MrDocs