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
| tx\_hash | string | The transaction id of an unspent transaction from the same wallet output. |
56
-
| index | integer | The \[output index([https://bitcoin.stackexchange.com/questions/100765/what-does-the-index-of-an-utxo-stand-for](https://bitcoin.stackexchange.com/questions/100765/what-does-the-index-of-an-utxo-stand-for))] of this unspent transaction output. |
57
-
| script\_pub\_key | string | The [scriptpubkey](https://learnmeabitcoin.com/technical/scriptPubKey) of this unspent transaction output. |
58
-
| amount | decimal | The value of this unspent transaction output. |
| tx\_hash | string | The transaction id of an unspent transaction from the same wallet output. |
56
+
| index | integer | The [output index](https://bitcoin.stackexchange.com/questions/100765/what-does-the-index-of-an-utxo-stand-for) of this unspent transaction output. |
57
+
| script\_pub\_key | string | The [scriptpubkey](https://learnmeabitcoin.com/technical/scriptPubKey) of this unspent transaction output. |
58
+
| amount | float | The value of this unspent transaction output. |
Copy file name to clipboardexpand all lines: src/pages/komodo-defi-framework/api/legacy/active_swaps/index.mdx
+102-117
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,12 @@ export const description =
4
4
5
5
# active\_swaps
6
6
7
-
**active\_swaps (include\_status)**
8
-
9
7
The `active_swaps` method returns all the swaps that are currently running on the Komodo DeFi Framework API node.
10
8
9
+
<Note>
10
+
This method has been deprecated in favor of [active\_swaps v2](/komodo-defi-framework/api/v20/active_swaps/). The legacy version does not include v2 (Trading Protocol Upgrade) swap statuses in responses (it only returns uuids for these).
11
+
</Note>
12
+
11
13
## Arguments
12
14
13
15
| Structure | Type | Description |
@@ -45,7 +47,8 @@ The `active_swaps` method returns all the swaps that are currently running on th
45
47
"7592a07a-2805-4050-8ab8-984480e812f0",
46
48
"82cbad96-ea9f-40fb-9225-07496323e35d",
47
49
"177f7fa5-c9f3-4673-a2fa-28451a123e61"
48
-
]
50
+
],
51
+
"statuses": null
49
52
}
50
53
}
51
54
```
@@ -68,122 +71,104 @@ The `active_swaps` method returns all the swaps that are currently running on th
0 commit comments