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

Name

Description

tx

The transaction whose outputs are summed.

Created with MrDocs