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
Parameter | Type | Required | Description |
---|---|---|---|
coin | string | ✓ | The ticker of the coin to disable |
Parameter | Type | Description |
---|---|---|
coin | string | The ticker of the deactivated coin |
cancelled_orders | array of strings | UUIDs of cancelled orders |
swaps | array of strings | UUIDs of active swaps that use the selected coin; present only in error cases |
orders.matching | array of strings | UUIDs of matching orders that use the selected coin; present only in error cases |
orders.cancelled | array of strings | UUIDs of orders that were successfully cancelled despite the error |
disable_coin
POST
disable_coin{
"userpass": "RPC_UserP@SSW0RD",
"method": "disable_coin",
"coin": "DOC"
}