ArchethicTransactionSender class
TransactionSenderInterface which talks to the Phoenix API.
- Implemented types
- Mixed-in types
Constructors
- ArchethicTransactionSender({required ApiService apiService})
Properties
- apiService → ApiService
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- phoenixHttpEndpoint ↔ String
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- websocketEndpoint ↔ String
-
latefinal
Methods
-
close(
) → void -
Releases all PhoenixTransactionSender resources.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
{required Transaction transaction, bool isEnoughConfirmations(TransactionConfirmation) = _defaultIsEnoughConfirmation, Duration timeout = const Duration(seconds: 30), TransactionConfirmationHandler? onConfirmation}) → Future< TransactionConfirmation?> -
Sends a transaction and listens to confirmations.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited