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."
43435
+
"memo": "It was a bright cold day in April, and the clocks were striking thirteen.",
43436
+
"fee": {
43437
+
"type": "CosmosGas",
43438
+
"gas_price": 0.05,
43439
+
"gas_limit": 150000
43440
+
}
43406
43441
},
43407
43442
"id": 0
43408
43443
}
@@ -43441,6 +43476,50 @@ The request was failed due to an AtomicDEX API internal error.
43441
43476
43442
43477
You can see the memo is included on the [block explorer](https://irishub.iobscan.io/#/txs/E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6)
43443
43478
</CollapsibleSection>
43479
+
43480
+
### Error Responses
43481
+
43482
+
#### InvalidRequest: Unknown fee type
43483
+
43484
+
```json
43485
+
{
43486
+
"mmrpc": "2.0",
43487
+
"error": "Error parsing request: unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
43488
+
"error_path": "dispatcher",
43489
+
"error_trace": "dispatcher:109]",
43490
+
"error_type": "InvalidRequest",
43491
+
"error_data": "unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
| 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."
16741
+
"memo": "It was a bright cold day in April, and the clocks were striking thirteen.",
16742
+
"fee": {
16743
+
"type": "CosmosGas",
16744
+
"gas_price": 0.05,
16745
+
"gas_limit": 150000
16746
+
}
16712
16747
},
16713
16748
"id": 0
16714
16749
}
@@ -16747,6 +16782,50 @@ The request was failed due to an AtomicDEX API internal error.
16747
16782
16748
16783
You can see the memo is included on the [block explorer](https://irishub.iobscan.io/#/txs/E00982A2A8442D7140916A34E29E287A0B1CBB4B38940372D1966BA7ACDE5BD6)
16749
16784
</CollapsibleSection>
16785
+
16786
+
### Error Responses
16787
+
16788
+
#### InvalidRequest: Unknown fee type
16789
+
16790
+
```json
16791
+
{
16792
+
"mmrpc": "2.0",
16793
+
"error": "Error parsing request: unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
16794
+
"error_path": "dispatcher",
16795
+
"error_trace": "dispatcher:109]",
16796
+
"error_type": "InvalidRequest",
16797
+
"error_data": "unknown variant `Tendermint`, expected one of `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas`",
0 commit comments