🧰 Update `GetSuggestedRoutes` call (#19560)

- This is to reflect changes made in https://github.com/status-im/status-go/pull/5002/files
This commit is contained in:
Shivek Khurana 2024-04-10 17:09:40 +01:00 committed by GitHub
parent 074a2b292d
commit 7987e537c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,7 @@
(str (get-in collectible [:id :contract-id :address])
":"
(get-in collectible [:id :token-id])))
to-token-id ""
network-preferences (if token [] [(get-in collectible [:id :contract-id :chain-id])])
gas-rates constants/gas-rate-medium
amount-in (send-utils/amount-in-hex amount (if token token-decimal 0))
@ -176,6 +177,7 @@
to-address
amount-in
token-id
to-token-id
disabled-from-chain-ids
disabled-to-chain-ids
network-preferences