UtxoEntry (Class)¶
An unspent transaction output (UTXO).
Represents a spendable output from a previous transaction. Contains information about the amount, locking script, and block position.
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
¶
The amount in sompi (1 KAS = 100,000,000 sompi).
| RETURNS | DESCRIPTION |
|---|---|
int
|
The UTXO value in sompi.
TYPE:
|
block_daa_score
property
¶
The DAA score of the block containing this UTXO.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The block DAA score.
TYPE:
|
is_coinbase
property
¶
Whether this UTXO is from a coinbase transaction.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if this is a coinbase UTXO.
TYPE:
|
outpoint
property
¶
outpoint: TransactionOutpoint
The outpoint identifying this UTXO.
| RETURNS | DESCRIPTION |
|---|---|
TransactionOutpoint
|
The transaction outpoint reference.
TYPE:
|
script_public_key
property
¶
script_public_key: ScriptPublicKey
The locking script for this UTXO.
| RETURNS | DESCRIPTION |
|---|---|
ScriptPublicKey
|
The script public key.
TYPE:
|