You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| type | string | Type of transaction fee; possible values: `UtxoFixed`, `UtxoPerKbyte`, `EthGas` |
27039
+
| type | string | Type of transaction fee; possible values: `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas` |
27040
27040
| amount | string (numeric) | Fee amount in coin units, used only when type is `UtxoFixed` (fixed amount not depending on tx size) or `UtxoPerKbyte` (amount per Kbyte) |
27041
-
| gas\_price | string (numeric) | Used only when fee type is EthGas; sets the gas price in `gwei` units |
27042
-
| gas | number (integer) | Used only when fee type is EthGas; sets the gas limit for transaction |
27041
+
| gas\_price | string (numeric) | Used only when fee type is `Qrc20Gas` or `EthGas`; sets the gas price in `gwei` units. |
27042
+
| gas\_price | number (double) | Used only when fee type is `CosmosGas`; sets the gas price. |
27043
+
| gas | number (integer) | Used only when fee type is `EthGas`; sets the gas limit for transaction |
27044
+
| gas\_limit | number (integer) | Used only when fee type is `Qrc20Gas` or `CosmosGas`; sets the gas limit for transaction |
"memo": "It was a bright cold day in April, and the clocks were striking thirteen."
43539
+
"memo": "It was a bright cold day in April, and the clocks were striking thirteen.",
43540
+
"fee": {
43541
+
"type": "CosmosGas",
43542
+
"gas_price": 0.05,
43543
+
"gas_limit": 150000
43544
+
}
43510
43545
},
43511
43546
"id": 0
43512
43547
}
@@ -43545,6 +43580,50 @@ The request was failed due to an AtomicDEX API internal error.
43545
43580
43546
43581
You can see the memo is included on the [block explorer](https://irishub.iobscan.io/#/txs/E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6)
43547
43582
</CollapsibleSection>
43583
+
43584
+
### Error Responses
43585
+
43586
+
#### InvalidRequest: Unknown fee type
43587
+
43588
+
```
43589
+
{
43590
+
"mmrpc": "2.0",
43591
+
"error": "Error parsing request: unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
43592
+
"error_path": "dispatcher",
43593
+
"error_trace": "dispatcher:109]",
43594
+
"error_type": "InvalidRequest",
43595
+
"error_data": "unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
#### InvalidFeePolicy: attempt to use EthGas for UTXO coin
43615
+
43616
+
```json
43617
+
{
43618
+
"mmrpc": "2.0",
43619
+
"error": "Invalid fee policy: Expected 'UtxoFixed' or 'UtxoPerKbyte' fee types, found EthGas",
43620
+
"error_path": "utxo_common",
43621
+
"error_trace": "utxo_common:1371]",
43622
+
"error_type": "InvalidFeePolicy",
43623
+
"error_data": "Expected 'UtxoFixed' or 'UtxoPerKbyte' fee types, found EthGas",
43624
+
"id": 0
43625
+
}
43626
+
```
43548
43627
export const title = "AtomicDEX Method: Get Current MTP";
43549
43628
export const description = "The get_current_mtp method returns the Median Time Past (MTP) from electrum servers for UTXO coins.";
43550
43629
@@ -49229,9 +49308,13 @@ Unpack and follow the instructions here: [instructions link](https://cmake.org/r
49229
49308
sudo apt-get install build-essential
49230
49309
```
49231
49310
49232
-
##### Windows: [Follow these instructions for MSVC](https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170\&viewFallbackFrom=vs-2017)
49311
+
##### Windows:
49312
+
49313
+
[Follow these instructions for MSVC](https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170\&viewFallbackFrom=vs-2017)
49314
+
49315
+
##### MacOS:
49233
49316
49234
-
##### MacOS: [Install XCode via the App Store](https://apps.apple.com/us/app/xcode/id497799835?mt=12)
49317
+
[Install XCode via the App Store](https://apps.apple.com/us/app/xcode/id497799835?mt=12)
| type | string | Type of transaction fee; possible values: `UtxoFixed`, `UtxoPerKbyte`, `EthGas` |
345
+
| type | string | Type of transaction fee; possible values: `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas` |
346
346
| amount | string (numeric) | Fee amount in coin units, used only when type is `UtxoFixed` (fixed amount not depending on tx size) or `UtxoPerKbyte` (amount per Kbyte) |
347
-
| gas\_price | string (numeric) | Used only when fee type is EthGas; sets the gas price in `gwei` units |
348
-
| gas | number (integer) | Used only when fee type is EthGas; sets the gas limit for transaction |
347
+
| gas\_price | string (numeric) | Used only when fee type is `Qrc20Gas` or `EthGas`; sets the gas price in `gwei` units. |
348
+
| gas\_price | number (double) | Used only when fee type is `CosmosGas`; sets the gas price. |
349
+
| gas | number (integer) | Used only when fee type is `EthGas`; sets the gas limit for transaction |
350
+
| gas\_limit | number (integer) | Used only when fee type is `Qrc20Gas` or `CosmosGas`; sets the gas limit for transaction |
"memo": "It was a bright cold day in April, and the clocks were striking thirteen."
16845
+
"memo": "It was a bright cold day in April, and the clocks were striking thirteen.",
16846
+
"fee": {
16847
+
"type": "CosmosGas",
16848
+
"gas_price": 0.05,
16849
+
"gas_limit": 150000
16850
+
}
16816
16851
},
16817
16852
"id": 0
16818
16853
}
@@ -16851,6 +16886,50 @@ The request was failed due to an AtomicDEX API internal error.
16851
16886
16852
16887
You can see the memo is included on the [block explorer](https://irishub.iobscan.io/#/txs/E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6)
16853
16888
</CollapsibleSection>
16889
+
16890
+
### Error Responses
16891
+
16892
+
#### InvalidRequest: Unknown fee type
16893
+
16894
+
```
16895
+
{
16896
+
"mmrpc": "2.0",
16897
+
"error": "Error parsing request: unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
16898
+
"error_path": "dispatcher",
16899
+
"error_trace": "dispatcher:109]",
16900
+
"error_type": "InvalidRequest",
16901
+
"error_data": "unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
#### InvalidFeePolicy: attempt to use EthGas for UTXO coin
16921
+
16922
+
```json
16923
+
{
16924
+
"mmrpc": "2.0",
16925
+
"error": "Invalid fee policy: Expected 'UtxoFixed' or 'UtxoPerKbyte' fee types, found EthGas",
16926
+
"error_path": "utxo_common",
16927
+
"error_trace": "utxo_common:1371]",
16928
+
"error_type": "InvalidFeePolicy",
16929
+
"error_data": "Expected 'UtxoFixed' or 'UtxoPerKbyte' fee types, found EthGas",
16930
+
"id": 0
16931
+
}
16932
+
```
16854
16933
export const title = "AtomicDEX Method: Get Current MTP";
16855
16934
export const description = "The get_current_mtp method returns the Median Time Past (MTP) from electrum servers for UTXO coins.";
16856
16935
@@ -22535,9 +22614,13 @@ Unpack and follow the instructions here: [instructions link](https://cmake.org/r
22535
22614
sudo apt-get install build-essential
22536
22615
```
22537
22616
22538
-
##### Windows: [Follow these instructions for MSVC](https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170\&viewFallbackFrom=vs-2017)
22617
+
##### Windows:
22618
+
22619
+
[Follow these instructions for MSVC](https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170\&viewFallbackFrom=vs-2017)
22620
+
22621
+
##### MacOS:
22539
22622
22540
-
##### MacOS: [Install XCode via the App Store](https://apps.apple.com/us/app/xcode/id497799835?mt=12)
22623
+
[Install XCode via the App Store](https://apps.apple.com/us/app/xcode/id497799835?mt=12)
0 commit comments