Serialize the script sig of a transaction input through the passed in callback.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
int
btck_transaction_input_get_script_sig(
    btck_TransactionInput const* transaction_input,
    btck_WriteBytes writer,
    void* user_data);

Return Value

The return value of the writer.

Note

The return value should not be discarded.

Parameters

Name

Description

transaction_input [in]

Non‐null.

writer [in]

Non‐null, function pointer for writing bytes.

user_data [in]

Nullable, passed back through the writer callback.

Created with MrDocs