Updated on 2026-08-14
This commit is contained in:
parent
fb11527b5b
commit
b8fc09d6bf
6 changed files with 97 additions and 7 deletions
|
|
@ -21,6 +21,10 @@ class DemoTransactionSender(private val walletManager: WalletManager) : Transact
|
|||
)
|
||||
}
|
||||
|
||||
override suspend fun estimateFee(amount: Amount): Result<TransactionFee> {
|
||||
return getFee(amount, walletManager.wallet.address)
|
||||
}
|
||||
|
||||
override suspend fun send(transactionData: TransactionData, signer: TransactionSigner): SimpleResult {
|
||||
val signerResponse = signer.sign(
|
||||
hash = getDataToSign(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue