EvalDescriptorStringOrObject

Evaluate a descriptor given as a string, or as a {"desc":...,"range":...} object, with default range of 1000.

Synopsis

Declared in <rpc/util.h>

std::vector<CScript>
EvalDescriptorStringOrObject(
    UniValue const& scanobject,
    FlatSigningProvider& provider,
    bool expand_priv = false);

Return Value

The scripts produced by the descriptor.

Parameters

NameDescription
scanobjectThe descriptor string or object to evaluate.
providerSigning provider that receives keys derived from the descriptor.
expand_privIf true, expand private keys into the provider.