Create a new transaction from the serialized data.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard]]
btck_Transaction*
btck_transaction_create(
    void const* raw_transaction,
    size_t raw_transaction_len);

Return Value

The transaction, or null on error.

Note

The return value should not be discarded.

Parameters

Name

Description

raw_transaction [in]

Serialized transaction.

raw_transaction_len [in]

Length of the serialized transaction.

Created with MrDocs