SimpleTransactionAlgebra class

Inheritance

Constructors

SimpleTransactionAlgebra({required WalletApi walletApi, required WalletStateAlgebra walletStateApi, required GenusQueryAlgebra utxoAlgebra, required TransactionBuilderApi transactionBuilderApi, required WalletManagementUtils walletManagementUtils})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionBuilderApi → TransactionBuilderApi
final
utxoAlgebra → GenusQueryAlgebra
final
walletApi → WalletApi
final
walletManagementUtils WalletManagementUtils
final
walletStateApi → WalletStateAlgebra
final

Methods

buildTransaction(List<Txo> txos, String? someChangeFellowship, String? someChangeContract, int? someChangeState, Lock_Predicate predicateFundsToUnlock, Lock lockForChange, LockAddress recipientLockAddress, int amount, int fee, Indices? someNextIndices, KeyPair keyPair, ValueTypeIdentifier typeIdentifier) Future<IoTransaction>
Builds a transaction.
createSimpleTransactionFromParams({required String keyfile, required String password, required String fromFellowship, required String fromContract, int? someFromState, String? someChangeFellowship, String? someChangeContract, int? someChangeState, LockAddress? someToAddress, String? someToFellowship, String? someToContract, required int amount, required int fee, required ValueTypeIdentifier tokenType}) Future<Either<SimpleTransactionAlgebraError, IoTransaction>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited