Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds UtxoPriority for withdraw v2 #416

Merged
merged 2 commits into from
Mar 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/pages/komodo-defi-framework/api/common_structures/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,9 @@ The `FeeInfo` response object includes the following items for [withdraw (v2)](/

| Parameter | Type | Description |
| ---------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| type | string | Type of transaction fee; possible values: `UtxoFixed`, `UtxoPerKbyte`, `EthGas`, `Qrc20Gas`, `CosmosGas` |
| type | string | Type of transaction fee. Possible values: `UtxoFixed`, `UtxoPerKbyte`, `UtxoPriority`, `EthGas`, `Qrc20Gas`, `CosmosGas` |
| 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) |
| priority | string | Used only when type is `UtxoPriority`. Possible values: 'Low', 'Normal', 'High'. |
| gas\_price | string (numeric) | Used only when fee type is `Qrc20Gas` or `EthGas`; sets the gas price in `gwei` units. |
| gas\_price | number (double) | Used only when fee type is `CosmosGas`; sets the gas price. |
| gas | number (integer) | Used only when fee type is `EthGas`; sets the gas limit for transaction |
Expand All @@ -216,6 +217,13 @@ The `FeeInfo` response object includes the following items for [withdraw (v2)](/
}
```

```json
{
"type": "UtxoPriority",
"priority": "Low"
}
```

```json
{
"type": "EthGas",
Expand Down