[#wallet-WalletStorage-TopUpCallback]
= xref:wallet.adoc[wallet]::xref:wallet/WalletStorage.adoc[WalletStorage]::TopUpCallback
:relfileprefix: ../../
:mrdocs:

Callback function for after TopUp completes containing any scripts that were added by a SPKMan

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *scripts*
| The scripts that were added during the top&hyphen;up&period;
| *spkm*
| The ScriptPubKeyMan that produced the scripts&period;
|===


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