Removes order with specified hash
CLI Example
Command syntax:
srv_stake order remove
-net <net_name>
-order <order_hash>
-cert <cert_name>
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
-cert - name of the certificate used to sign order
Example:
Command:
cellframe-node-cli srv_stake order remove
-net foobar
-order 0x5B0401700CDAC57C9BB73344E5BA1AFAA344AA322F6B855C23D779B86ADCAE50
Response:
Stake order successfully removed
JSON-RPC Example
Command:
curl -X POST http://rpc.cellframe.net/connect -d '{"method":"srv_stake", "params":["srv_stake;order;remove;-net;foobar;-order;0x451E0BBB9510A228A267EA85DDBAD63686750E753FF6A26571586D57238501FD"], "id":"1"}'
Response:
{
"type": 0,
"result": "Stake order successfully removed",
"errors": null,
"id": 1
}