[#wallet-CWallet-LoadToWallet]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::LoadToWallet
:relfileprefix: ../../
:mrdocs:

Load a wallet transaction read from the database into memory&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e598b28), requires&lowbar;capability(0x7f2e11aa98e8), requires&lowbar;capability(0x7f2e169ff6d8), requires&lowbar;capability(0x7f2e15f2eb78), requires&lowbar;capability(0x7f2e12c6d808)&rsqb;&rsqb;
bool
LoadToWallet(xref:wallet/CWalletTx.adoc[CWalletTx]&& wtx);
----

== Return Value

true if the transaction was loaded&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wtx*
| The wallet transaction to load&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
