[#wallet-CWallet-TopUpCallback-0a] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::TopUpCallback :relfileprefix: ../../ :mrdocs: `TopUpCallback` overloads == Synopses Declared in `<wallet/scriptpubkeyman.h>` Callback function for after TopUp completes containing any scripts that were added by a SPKMan [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:wallet/WalletStorage/TopUpCallback.adoc[TopUpCallback]( std::set<CScript> const& scripts, xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]* spkm) = 0; ---- [.small]#xref:wallet/WalletStorage/TopUpCallback.adoc[_» more..._]# Handle newly generated scripts reported by a ScriptPubKeyMan top‐up. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:wallet/CWallet/TopUpCallback-0d.adoc[TopUpCallback]( std::set<CScript> const& spks, xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]* spkm) override; ---- [.small]#xref:wallet/CWallet/TopUpCallback-0d.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *scripts* | The scripts that were added during the top‐up. | *spkm* | The ScriptPubKeyMan that produced the scripts. | *spks* | The newly generated scripts. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#