ArchethicTransactionSender class

TransactionSenderInterface which talks to the Phoenix API.

Implemented types
Mixed in types

Constructors

ArchethicTransactionSender({required String phoenixHttpEndpoint, required String websocketEndpoint, required ApiService apiService})

Properties

apiService ApiService
final
hashCode int
The hash code for this object.
no setterinherited
phoenixHttpEndpoint String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
websocketEndpoint String
final

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, Duration timeout = const Duration(seconds: 60), required TransactionConfirmationHandler onConfirmation, required TransactionErrorHandler onError}) Future<void>
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