Updated on 2026-08-14

This commit is contained in:
Tangem 2023-01-09 13:56:57 +03:00
parent 30c34a9e14
commit 01e5b6d95a
15 changed files with 322 additions and 124 deletions

View file

@ -7,6 +7,7 @@ import java.math.BigDecimal
interface TransactionManager {
@Throws(IllegalStateException::class)
suspend fun sendTransaction(
networkId: String,
amountToSend: BigDecimal,
@ -16,6 +17,7 @@ interface TransactionManager {
dataToSign: String,
): SendTxResult
@Throws(IllegalStateException::class)
suspend fun getFee(
networkId: String,
amountToSend: BigDecimal,
@ -24,4 +26,7 @@ interface TransactionManager {
): ProxyAmount
fun getNativeAddress(networkId: String): String
@Throws(IllegalStateException::class)
fun getNativeTokenDecimals(networkId: String): Int
}