Check if a given transaction has any of its outputs spent by another transaction in the wallet

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7f2e1e599ba8), requires_capability(0x7f2e11aaa968), requires_capability(0x7f2e16a00758), requires_capability(0x7f2e15f2fbf8), requires_capability(0x7f2e12c6e888)]]
bool
HasWalletSpend(CTransactionRef const& tx) const;

Return Value

true if any output is spent by another wallet transaction.

Parameters

Name

Description

tx

The transaction whose outputs to check.

Created with MrDocs