On this page

latest contributor to this doc

Last Edit:

@smk762

Disable Coin

API-v1disable_coin

The disable_coin method deactivates the previously enabled coin and also cancels all active orders that use the selected coin. The method will return an error in the following cases:

  • The coin is not enabled
  • The coin is used by active swaps
  • The coin is used by a currently matching order. In this case, other orders might still be cancelled

ParameterTypeRequiredDescription
coinstringThe ticker of the coin to disable

ParameterTypeDescription
coinstringThe ticker of the deactivated coin
cancelled_ordersarray of stringsUUIDs of cancelled orders
swapsarray of stringsUUIDs of active swaps that use the selected coin; present only in error cases
orders.matchingarray of stringsUUIDs of matching orders that use the selected coin; present only in error cases
orders.cancelledarray of stringsUUIDs of orders that were successfully cancelled despite the error

disable_coin

POST
disable_coin
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "disable_coin",
  "coin": "DOC"
}