active_swaps
The active_swaps method returns all the swaps that are currently running on the Komodo DeFi Framework API node.
| Structure | Type | Description | 
|---|---|---|
| include_status | bool | Optional, defaults to false. Whether to include swap statuses in response; | 
| Structure | Type | Description | 
|---|---|---|
| uuids | array of strings | A list of currently active swap UUIDs. | 
| statuses | object (map) | Only visible if include_status request parameter is true. A map of standard SwapStatus objects, delineated by the related UUID. | 
POST
active_swaps{
  "mmrpc": "2.0",
  "userpass": "RPC_UserP@SSW0RD",
  "method": "active_swaps",
  "params": {
    "include_status": false
  }
}
POST
active_swaps{
  "mmrpc": "2.0",
  "userpass": "RPC_UserP@SSW0RD",
  "method": "active_swaps",
  "params": {
    "include_status": true
  },
  "id": 42
}