[#CalculateOutputValue] = CalculateOutputValue :mrdocs: Sums the value of all outputs of a transaction. == Synopsis Declared in `<primitives/transaction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename TxType> xref:CAmount.adoc[CAmount] CalculateOutputValue(TxType const& tx); ---- == Return Value The total value of all outputs. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The transaction whose outputs are summed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#