[#wallet-WalletBatch-WriteActiveScriptPubKeyMan] = xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::WriteActiveScriptPubKeyMan :relfileprefix: ../../ :mrdocs: Records the active ScriptPubKeyMan for a key type. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WriteActiveScriptPubKeyMan( uint8_t type, xref:uint256.adoc[uint256] const& id, bool internal); ---- == Return Value true if the record was written. == Parameters [cols="1,4"] |=== | Name| Description | *type* | The output type. | *id* | The identifier of the ScriptPubKeyMan. | *internal* | Whether this is the internal (change) ScriptPubKeyMan. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#