[#wallet-LegacySigningProvider-GetPubKey] = xref:wallet.adoc[wallet]::xref:wallet/LegacySigningProvider.adoc[LegacySigningProvider]::GetPubKey :relfileprefix: ../../ :mrdocs: Retrieves the public key for the given address. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool GetPubKey( xref:CKeyID.adoc[CKeyID] const& address, xref:CPubKey.adoc[CPubKey]& pubkey) const override; ---- == Return Value true if the public key was found. == Parameters [cols="1,4"] |=== | Name| Description | *address* | The key id to look up. | *pubkey* | Filled with the found public key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#