Shows current amount of unsold coins in the specified order and percentage of its completion

CLI Example

Command syntax:

srv_xchange order status 
-net <net_name> 
-order <order_hash>

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 exchange order

Example:

Command:

cellframe-node-cli srv_xchange order status 
-net riemann 
-order 0x8B4433B5D92CF80FD265843654D3650CF42FFFE0D5982354FEF249A137F21EBB

Response:

orderHash: 0x8B4433B5D92CF80FD265843654D3650CF42FFFE0D5982354FEF249A137F21EBB

 ts_created: Fri Mar  8 13:37:30 2024 (1709905050)

 Status: OPENED, amount: 1000.0 (1000000000000000000000) tKEL, filled: 0.0%, rate (mtKEL/tKEL): 1000.0, net: riemann

JSON-RPC Example

Command:

curl -X POST http://rpc.cellframe.net/connect -d '{"method":"srv_xchange", "params":["srv_xchange;order;status;-net;riemann;-order;0x8B4433B5D92CF80FD265843654D3650CF42FFFE0D5982354FEF249A137F21EBB"], "id":"1"}'

Response:


"type": 0, "result": "orderHash: 0x8B4433B5D92CF80FD265843654D3650CF42FFFE0D5982354FEF249A137F21EBB\n ts_created: Fri Mar  8 13:37:30 2024 (1709905050)\n Status: OPENED, amount: 1000.0 (1000000000000000000000) tKEL, filled: 0.0%, rate (mtKEL\/tKEL): 1000.0, net: riemann\n\n",
"errors": null,
"id": 1
}