[#btck_transaction_get_output_at]
= btck&lowbar;transaction&lowbar;get&lowbar;output&lowbar;at
:mrdocs:

Get the transaction outputs at the provided index&period; The returned transaction output is not owned and depends on the lifetime of the transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;&lowbar;&lowbar;nonnull&lowbar;&lowbar;&rsqb;&rsqb;
xref:btck_TransactionOutput-0d.adoc[btck&lowbar;TransactionOutput] const*
btck&lowbar;transaction&lowbar;get&lowbar;output&lowbar;at(
    xref:btck_Transaction-08.adoc[btck&lowbar;Transaction] const* transaction,
    size&lowbar;t output&lowbar;index);
----

== Return Value

The transaction output

== Parameters

[cols="1,4"]
|===
| Name| Description
| *transaction* [in]
| Non&hyphen;null&period;
| *output&lowbar;index* [in]
| The index of the transaction output to be retrieved&period;
|===


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