active_swaps
active_swaps (include_status)
The active_swaps
method returns all the swaps that are currently running on the AtomicDEX API node.
Structure | Type | Description |
---|---|---|
include_status | bool | whether to include swap statuses in response; defaults to false |
Structure | Type | Description |
---|---|---|
result | result object | |
result.uuids | array of strings | uuids of currently running swaps |
result.statuses | object (map) | the uuid -> swap status map of currently running swaps; null if include_status is false in the request |
POST
active_swaps{
"userpass": "testpsw",
"method": "active_swaps"
}
POST
active_swaps{
"userpass": "testpsw",
"method": "active_swaps",
"include_status": true
}