Updated on 2026-08-14

This commit is contained in:
Tangem 2023-01-27 18:50:27 +03:00
parent 86c748685e
commit 21bf5f1ead
11 changed files with 76 additions and 34 deletions

View file

@ -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
}

View file

@ -0,0 +1,7 @@
package com.tangem.lib.crypto.models
data class ProxyNetworkInfo(
val name: String,
val blockchainId: String,
val blockchainCurrency: String,
)