[#wallet-WalletBatch-WriteWtxVariant] = xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::WriteWtxVariant :relfileprefix: ../../ :mrdocs: Writes a wallet transaction variant record. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WriteWtxVariant( xref:Txid.adoc[Txid] const& txid, xref:CTransactionRef.adoc[CTransactionRef] const& tx); ---- == Return Value true if the record was written. == Parameters [cols="1,4"] |=== | Name| Description | *txid* | The txid of the transaction. | *tx* | The transaction to store. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#