On this page

latest contributor to this doc

Last Edit:

@gcharang

active_swaps

active_swaps (include_status)

The active_swaps method returns all the swaps that are currently running on the Komodo DeFi Framework API node.

StructureTypeDescription
include_statusboolOptional, defaults to false. Whether to include swap statuses in response;

StructureTypeDescription
uuidsarray of stringsA list of currently active swap UUIDs.
statusesobject (map)Only visible if include_status request parameter is true. A map of standard SwapStatus objects, delineated by the related UUID.

POST
active_swaps
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "active_swaps"
}

POST
active_swaps
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "active_swaps",
  "include_status": true
}