Return the CKeyID of the key involved in a script (if there is a unique one).

Synopsis

Declared in <script/signingprovider.h>

CKeyID
GetKeyForDestination(
    SigningProvider const& store,
    CTxDestination const& dest);

Return Value

The key id involved in the destination, or an empty id if none is unique.

Parameters

Name

Description

store

The provider used to resolve the destination's key.

dest

The destination to inspect.

Created with MrDocs