Skip to content

UtxoProcessor (Class)

UTXO processor coordinating address tracking and UTXO updates.

is_active property

is_active: bool

Whether the processor is connected and running.

network_id property

network_id: Optional[NetworkId]

The network id used by the processor (if set).

rpc property

rpc: RpcClient

The associated RPC client.

__new__

__new__(rpc: RpcClient, network_id: NetworkId) -> UtxoProcessor

Create a new UtxoProcessor.

PARAMETER DESCRIPTION
rpc

The RPC client to use for network communication.

TYPE: RpcClient

network_id

Network identifier for UTXO processing.

TYPE: NetworkId

set_coinbase_transaction_maturity_daa staticmethod

set_coinbase_transaction_maturity_daa(network_id: NetworkId, value: int) -> None

Set the coinbase transaction maturity period DAA for a network.

set_network_id

set_network_id(network_id: NetworkId) -> None

Set the network id for the processor.

set_user_transaction_maturity_daa staticmethod

set_user_transaction_maturity_daa(network_id: NetworkId, value: int) -> None

Set the user transaction maturity period DAA for a network.

start

start() -> None

Start UTXO processing (async).

stop

stop() -> None

Stop UTXO processing (async).