Updated on 2026-08-14
This commit is contained in:
parent
26e4fdc667
commit
57aba8f731
1 changed files with 8 additions and 2 deletions
|
|
@ -40,7 +40,13 @@ internal class SwapRepositoryImpl @Inject constructor(
|
|||
|
||||
override suspend fun getExchangeableTokens(networkId: String): List<Currency> {
|
||||
return withContext(coroutineDispatcher.io) {
|
||||
tokensConverter.convertList(tangemTechApi.getCoins(exchangeable = true, networkIds = networkId).coins)
|
||||
tokensConverter.convertList(
|
||||
tangemTechApi.getCoins(
|
||||
exchangeable = true,
|
||||
active = true,
|
||||
networkIds = networkId,
|
||||
).coins,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -49,7 +55,7 @@ internal class SwapRepositoryImpl @Inject constructor(
|
|||
fromTokenAddress: String,
|
||||
toTokenAddress: String,
|
||||
amount:
|
||||
String,
|
||||
String,
|
||||
): AggregatedSwapDataModel<QuoteModel> {
|
||||
return withContext(coroutineDispatcher.io) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue