Returns the cached change amount of a wallet transaction.

Synopsis

Declared in <wallet/receive.h>

CAmount
CachedTxGetChange(
    CWallet const& wallet,
    CWalletTx const& wtx);

Return Value

The change amount.

Parameters

Name

Description

wallet

The wallet that owns the transaction.

wtx

The wallet transaction to evaluate.

Created with MrDocs