fix: extra ID for Trocador swap (#2307)

This commit is contained in:
Serhii
2025-06-16 17:52:15 +03:00
committed by GitHub
parent a96b493b60
commit 4fb2fc47ad
30 changed files with 40 additions and 14 deletions
@@ -230,6 +230,7 @@ class TrocadorExchangeProvider extends ExchangeProvider {
final providerName = responseJSON['provider'] as String;
final amount = responseJSON['amount_from']?.toString();
final receiveAmount = responseJSON['amount_to']?.toString();
final addressProviderMemo = responseJSON['address_provider_memo'] as String?;
return Trade(
id: id,
@@ -247,6 +248,7 @@ class TrocadorExchangeProvider extends ExchangeProvider {
receiveAmount: receiveAmount ?? request.toAmount,
payoutAddress: payoutAddress,
isSendAll: isSendAll,
extraId: addressProviderMemo,
);
}