wallet::CWallet::GetWalletTx

Look up a wallet transaction by its txid.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7fb955bce748), requires_capability(0x7fb94db83068), requires_capability(0x7fb95ab12ee8), requires_capability(0x7fb959fafac8), requires_capability(0x7fb956cb9d58)]]
CWalletTx const*
GetWalletTx(Txid const& hash) const;

Return Value

The wallet transaction, or nullptr if not found.

Parameters

NameDescription
hashThe txid to look up.