[#wallet-CWallet-GetWalletTx] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetWalletTx :relfileprefix: ../../ :mrdocs: Look up a wallet transaction by its txid. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff3720eecd8), requires_capability(0x7ff365f1ecd8), requires_capability(0x7ff35de5d688), requires_capability(0x7ff35efe2168), requires_capability(0x7ff366fce748)]] xref:wallet/CWalletTx.adoc[CWalletTx] const* GetWalletTx(xref:Txid.adoc[Txid] const& hash) const; ---- == Return Value The wallet transaction, or nullptr if not found. == Parameters [cols="1,4"] |=== | Name| Description | *hash* | The txid to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#