[#btck_transaction_get_txid]
= btck&lowbar;transaction&lowbar;get&lowbar;txid
:mrdocs:

Get the txid of a transaction&period; The returned txid 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_Txid-0e.adoc[btck&lowbar;Txid] const*
btck&lowbar;transaction&lowbar;get&lowbar;txid(xref:btck_Transaction-08.adoc[btck&lowbar;Transaction] const* transaction);
----

== Return Value

The txid&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *transaction* [in]
| Non&hyphen;null&period;
|===


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