CalculateOutputValue

Sums the value of all outputs of a transaction.

Synopsis

Declared in <primitives/transaction.h>

template<typename TxType>
CAmount
CalculateOutputValue(TxType const& tx);

Return Value

The total value of all outputs.

Parameters

NameDescription
txThe transaction whose outputs are summed.