[#wallet-LoadKey] = xref:wallet.adoc[wallet]::LoadKey :relfileprefix: ../ :mrdocs: Loads an unencrypted key from a database record into the wallet. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool LoadKey( xref:wallet/CWallet.adoc[CWallet]* pwallet, xref:DataStream.adoc[DataStream]& ssKey, xref:DataStream.adoc[DataStream]& ssValue, std::string& strErr); ---- == Return Value true if the key was loaded. == Parameters [cols="1,4"] |=== | Name| Description | *pwallet* | The wallet to load the key into. | *ssKey* | Stream with the record key. | *ssValue* | Stream with the record value. | *strErr* | Receives an error description on failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#