[#wallet-CWallet-TopUpCallback-0d]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::TopUpCallback
:relfileprefix: ../../
:mrdocs:

Handle newly generated scripts reported by a ScriptPubKeyMan top&hyphen;up&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
TopUpCallback(
    std::set&lt;CScript&gt; const& spks,
    xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]* spkm) override;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *spks*
| The newly generated scripts&period;
| *spkm*
| The ScriptPubKeyMan that generated the scripts&period;
|===


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