Returns the total credit of a transaction's outputs owned by the wallet.
Synopsis
Declared in <wallet/receive.h>
CAmount
TxGetCredit(
CWallet const& wallet,
CTransaction const& tx);
Return Value
The sum of the credited amounts.
Parameters
Name |
Description |
wallet |
The wallet to check ownership against. |
tx |
The transaction to evaluate. |
Created with MrDocs