Skip to content

UtxoEntryReference (Class)

A reference to a UTXO entry.

Provides access to UTXO data for transaction building and signing.

address property

address: Optional[Address]

The address associated with this UTXO.

RETURNS DESCRIPTION
Optional[Address]

Address | None: The address, or None if not available.

amount property

amount: int

The amount in sompi (1 KAS = 100,000,000 sompi).

RETURNS DESCRIPTION
int

The UTXO value in sompi.

TYPE: int

block_daa_score property

block_daa_score: int

The DAA score of the block containing this UTXO.

RETURNS DESCRIPTION
int

The block DAA score.

TYPE: int

entry property

entry: UtxoEntry

The underlying UTXO entry.

RETURNS DESCRIPTION
UtxoEntry

The UTXO entry data.

TYPE: UtxoEntry

is_coinbase property

is_coinbase: bool

Whether this UTXO is from a coinbase transaction.

RETURNS DESCRIPTION
bool

True if this is a coinbase UTXO.

TYPE: bool

outpoint property

The outpoint identifying this UTXO.

RETURNS DESCRIPTION
TransactionOutpoint

The transaction outpoint reference.

TYPE: TransactionOutpoint

script_public_key property

script_public_key: ScriptPublicKey

The locking script for this UTXO.

RETURNS DESCRIPTION
ScriptPublicKey

The script public key.

TYPE: ScriptPublicKey

__eq__

__eq__(other: object) -> bool