Updated on 2026-08-14
This commit is contained in:
parent
30c34a9e14
commit
01e5b6d95a
15 changed files with 322 additions and 124 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue