TransactionServiceImpl class
- Implemented types
- Annotations
-
- @LazySingleton(as: TransactionService)
Constructors
- TransactionServiceImpl.new({required PrepareTransactionUsecase prepareTransactionUsecase, required GetEstimatedFeeUseCase getEstimatedFeeUseCase, required GetRecentTransactionsUsecase getRecentTransactionsUsecase, required GetTransactionStatusUsecase getTransactionStatusUsecase, required SendTransactionUsecase signAndSendTransactionUsecase})
Properties
- getEstimatedFeeUseCase → GetEstimatedFeeUseCase
-
Invoking our usecases
final - getRecentTransactionsUsecase → GetRecentTransactionsUsecase
-
final
- getTransactionStatusUsecase → GetTransactionStatusUsecase
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- prepareTransactionUsecase → PrepareTransactionUsecase
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signAndSendTransactionUsecase → SendTransactionUsecase
-
final
Methods
-
estimatedFee(
{required String message}) → Future< int?> -
Calling our repository methods
override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareTransaction(
{required String sourcePrivateKey, required String sourceWallet, required String destinationWallet, required int amount}) → Future< String> -
override
-
recentTransactions(
{required String mintAddress, required int limit}) → Future< List< TransactionSignatureInformation> > -
override
-
sendTransaction(
{required String hashString}) → Future< String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
transactionStatus(
{required String signature}) → Future< SignatureStatusesResult> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited