UtxoContext (Class)¶
UTXO context for tracking addresses and balances.
balance_strings
property
¶
balance_strings: Optional[BalanceStrings]
Current balance formatted as strings (if available).
__new__
¶
__new__(processor: UtxoProcessor, id: Optional[Any] = None) -> UtxoContext
Create a new UtxoContext.
| PARAMETER | DESCRIPTION |
|---|---|
processor
|
The UtxoProcessor to bind to.
TYPE:
|
id
|
Optional 32-byte hex id (string) or Hash.
TYPE:
|
mature_range
¶
mature_range(from_: int, to: int) -> list[UtxoEntryReference]
Return a range of mature UTXO entries.
track_addresses
¶
track_addresses(addresses: Sequence[Address] | Sequence[str], current_daa_score: Optional[int] = None) -> None
Track and scan a list of addresses (async).
| PARAMETER | DESCRIPTION |
|---|---|
addresses
|
List of Address objects or address strings.
TYPE:
|
current_daa_score
|
Optional current DAA score for scan context.
TYPE:
|