[#btck-BlockSpentOutputs-GetTxSpentOutputs]
= xref:btck.adoc[btck]::xref:btck/BlockSpentOutputs.adoc[BlockSpentOutputs]::GetTxSpentOutputs
:relfileprefix: ../../
:mrdocs:

Returns the spent outputs of one transaction in the block&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/TransactionSpentOutputsView.adoc[TransactionSpentOutputsView]
GetTxSpentOutputs(size&lowbar;t tx&lowbar;undo&lowbar;index) const;
----

== Return Value

A view of that transaction&apos;s spent outputs&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx&lowbar;undo&lowbar;index*
| The zero&hyphen;based transaction undo index&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
