Get the txid of a transaction. The returned txid is not owned and depends on the lifetime of the transaction.
Declared in <kernel/bitcoinkernel.h>
[[__nonnull__]]
btck_Txid const*
btck_transaction_get_txid(btck_Transaction const* transaction);
The txid.
| Name | Description |
|---|---|
| transaction [in] | Non-null. |