Return the CKeyID of the key involved in a script (if there is a unique one).
Declared in <script/signingprovider.h>
CKeyID
GetKeyForDestination(
SigningProvider const& store,
CTxDestination const& dest);
The key id involved in the destination, or an empty id if none is unique.
| Name | Description |
|---|---|
| store | The provider used to resolve the destination's key. |
| dest | The destination to inspect. |