Skip to content

sgns::InputUTXOInfo

Raw UTXO input data included in a spend request.

#include <UTXOStructs.hpp>

Public Functions

Name
std::vector< uint8_t > SerializeForSigning() const
Serializes the input fields that must be signed by the owner.

Public Attributes

Name
base::Hash256 txid_hash_
Hash of the transaction that created the output.
uint32_t output_idx_
Zero-based output index within the originating transaction.
std::vector< uint8_t > signature_
Signature authorizing the spend of this outpoint.

Public Functions Documentation

function SerializeForSigning

std::vector< uint8_t > SerializeForSigning() const

Serializes the input fields that must be signed by the owner.

Public Attributes Documentation

variable txid_hash_

base::Hash256 txid_hash_;

Hash of the transaction that created the output.

variable output_idx_

uint32_t output_idx_;

Zero-based output index within the originating transaction.

variable signature_

std::vector< uint8_t > signature_;

Signature authorizing the spend of this outpoint.


Updated on 2026-06-05 at 17:22:18 -0700