mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
add buy/sell widget param
This commit is contained in:
parent
dc862c21ee
commit
6bb6cf6de0
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,7 @@ class MeldProvider extends BuyProvider {
|
||||||
String? amount,
|
String? amount,
|
||||||
}) async {
|
}) async {
|
||||||
final params = {
|
final params = {
|
||||||
|
"transactionType": "SELL",
|
||||||
"publicKey": secrets.meldApiKey,
|
"publicKey": secrets.meldApiKey,
|
||||||
"theme": convertTheme(settingsStore.currentTheme),
|
"theme": convertTheme(settingsStore.currentTheme),
|
||||||
"sourceCurrencyCode": currencyCode.toUpperCase(),
|
"sourceCurrencyCode": currencyCode.toUpperCase(),
|
||||||
|
@ -83,6 +84,7 @@ class MeldProvider extends BuyProvider {
|
||||||
String? amount,
|
String? amount,
|
||||||
}) async {
|
}) async {
|
||||||
final params = {
|
final params = {
|
||||||
|
"transactionType": "BUY",
|
||||||
"publicKey": secrets.meldApiKey,
|
"publicKey": secrets.meldApiKey,
|
||||||
"theme": convertTheme(settingsStore.currentTheme),
|
"theme": convertTheme(settingsStore.currentTheme),
|
||||||
"destinationCurrencyCode": currencyCode.toUpperCase(),
|
"destinationCurrencyCode": currencyCode.toUpperCase(),
|
||||||
|
|
Loading…
Reference in a new issue