Updated on 2026-08-14
This commit is contained in:
parent
86c748685e
commit
21bf5f1ead
11 changed files with 76 additions and 34 deletions
|
|
@ -2,6 +2,7 @@ package com.tangem.lib.crypto
|
|||
|
||||
import com.tangem.lib.crypto.models.Currency
|
||||
import com.tangem.lib.crypto.models.ProxyAmount
|
||||
import com.tangem.lib.crypto.models.ProxyNetworkInfo
|
||||
import com.tangem.lib.crypto.models.transactions.SendTxResult
|
||||
import java.math.BigDecimal
|
||||
|
||||
|
|
@ -51,5 +52,5 @@ interface TransactionManager {
|
|||
* workaround till not use backend only and not integrated server vs sdk
|
||||
*/
|
||||
@Throws(IllegalStateException::class)
|
||||
fun getBlockchainId(networkId: String): String
|
||||
fun getBlockchainInfo(networkId: String): ProxyNetworkInfo
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
package com.tangem.lib.crypto.models
|
||||
|
||||
data class ProxyNetworkInfo(
|
||||
val name: String,
|
||||
val blockchainId: String,
|
||||
val blockchainCurrency: String,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue