Skip to main content

UTXO

scrypt-ts-opcat v1.0.1


scrypt-ts-opcat / UTXO

Interface: UTXO

Defined in: packages/scrypt-ts-opcat/src/globalTypes.ts:23

Represents an Unspent Transaction Output (UTXO) in a blockchain.

Properties

address?

optional address: string

Defined in: packages/scrypt-ts-opcat/src/globalTypes.ts:24

The address associated with this UTXO (optional).


data

data: string

Defined in: packages/scrypt-ts-opcat/src/globalTypes.ts:29

Additional data associated with this UTXO.


outputIndex

outputIndex: number

Defined in: packages/scrypt-ts-opcat/src/globalTypes.ts:26

The index of this output in the transaction.


satoshis

satoshis: number

Defined in: packages/scrypt-ts-opcat/src/globalTypes.ts:28

The amount of satoshis in this UTXO.


script

script: string

Defined in: packages/scrypt-ts-opcat/src/globalTypes.ts:27

The locking script (ScriptPubKey) for this UTXO.


txId

txId: string

Defined in: packages/scrypt-ts-opcat/src/globalTypes.ts:25

The transaction ID where this UTXO was created.