disable_coin
disable_coin 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
Structure | Type | Description |
---|---|---|
coin | string | the ticker of coin to disable |
Structure | Type | Description |
---|---|---|
coin | string | the ticker of 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 |
POST
disable_coin{
"userpass": "RPC_UserP@SSW0RD",
"method": "disable_coin",
"coin": "DOC"
}