Invalidates (closes) opened or partially filled specified order in the specified network
CLI Example
Command syntax:
srv_xchange order remove
-net <net_name>
-order <order_hash>
-w <wallet_name>
-fee <value_datoshi>
Options:
-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-order - hash of the order
-w - name of the wallet
-fee - comission in datoshi
Example:
Command:
cellframe-node-cli srv_xchange order remove
-net riemann
-order 0x72FBB3ED3708074B229D7D8D46404E26347AEEFB3EC2F3B56A0CD4BE4AD1BBFB
-w raidenwallet
-fee 0.1e+18
Response:
Order successfully removed. Created inactivate tx with hash 0xDF15AA6D67EB0AF63BB246AA3D955B43D6E50543A2DA11D77A0AA32B088496E4
JSON-RPC Example
Command:
curl -X POST http://rpc.cellframe.net/connect -d '{"method":"srv_xchange", "params":["srv_xchange;order;remove;-net;riemann;-order;0x72FBB3ED3708074B229D7D8D46404E26347AEEFB3EC2F3B56A0CD4BE4AD1BBFB;-w;raidenwallet;-fee;0.1e+18"], "id":"1"}'
Response:
{
"type": 0,
"result": "Order successfully removed. Created inactivate tx with hash 0xA08783B1A3D3E74DBE536E82923D14D24D6B566ABBA467E94B6F5743EF4F2732",
"errors": null,
"id": 1
}