Utxo
@Serializable
Unshielded UTXO (Unspent Transaction Output).
Represents an output from a transaction that can be spent. Matches Midnight SDK's WireUtxoSchema.
Constructors
Properties
Link copied to clipboard
Intent hash (from GraphQL, kept for reference)
Link copied to clipboard
Index of this output in the transaction
Link copied to clipboard
Public key of the owner (hex-encoded, 33 bytes compressed). Null if not from our wallet.
Link copied to clipboard
Whether this UTXO is registered for dust generation
Link copied to clipboard
Transaction hash that created this UTXO (set during sync, used for identifier)
Functions
Link copied to clipboard
Unique identifier for LOCAL database storage. Format: "transactionHash:outputIndex"
Link copied to clipboard
Convert value string to BigInteger.
Link copied to clipboard
Create a copy with the transaction hash set. Called during sync when we have access to update.transaction.hash.