Updated on 2026-08-14
This commit is contained in:
parent
30c34a9e14
commit
01e5b6d95a
15 changed files with 322 additions and 124 deletions
|
|
@ -33,7 +33,6 @@ class TransactionManagerImpl(
|
|||
private val appStateHolder: AppStateHolder,
|
||||
) : TransactionManager {
|
||||
|
||||
@Throws(IllegalStateException::class)
|
||||
override suspend fun sendTransaction(
|
||||
networkId: String,
|
||||
amountToSend: BigDecimal,
|
||||
|
|
@ -63,6 +62,10 @@ class TransactionManagerImpl(
|
|||
return handleSendResult(sendResult)
|
||||
}
|
||||
|
||||
override fun getNativeTokenDecimals(networkId: String): Int {
|
||||
return Blockchain.fromNetworkId(networkId)?.decimals() ?: error("blockchain not found")
|
||||
}
|
||||
|
||||
@Throws(IllegalStateException::class)
|
||||
override suspend fun getFee(
|
||||
networkId: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue