Shows an order info by the order hash
CLI Example
Command syntax:
net_srv order dump
-net <net_name>
-hash <ip_addr>
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 (optional)
hash - hash of the order
Example:
Command:
cellframe-node-cli net_srv order dump
-net riemann
-hash 0x84841198C0F98BE33FAC05F897DFB9E273352F79329784C916476787C638FD3B
Response:
== Order 0x84841198C0F98BE33FAC05F897DFB9E273352F79329784C916476787C638FD3B ==
version: 3
direction: SERV_DIR_SELL
created: Tue, 25 Jul 2023 03:59:33 -0700
srv_uid: 0x0000000000000001
price: 0.0000000000000012 (1200)
price_token: tKEL
units: 300
price_unit: SECOND
node_addr: D860::D9D5::1C57::A6B3
node_location: Europe - France
tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000
ext: 0x52024672616E636500
pkey: 0xC6FB9B9370C01F52AD31D1B22A8AB1F1B18AF190EB48BA8F7E24E3DA6E67C8C2
JSON-RPC Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli
-X POST http://localhost/connect
-d '{"method":"net_srv", "params":["net_srv;order;dump;-net;riemann;-hash;0x84841198C0F98BE33FAC05F897DFB9E273352F79329784C916476787C638FD3B"], "id":"1"}'
Response:
{
"type": 0,
"result": "== Order 0x84841198C0F98BE33FAC05F897DFB9E273352F79329784C916476787C638FD3B ==\n version: 3\n direction: SERV_DIR_SELL\n created: Tue, 25 Jul 2023 03:59:33 -0700\n srv_uid: 0x0000000000000001\n price: 0.0000000000000012 (1200)\n price_token: tKEL\n units: 300\n price_unit: SECOND\n node_addr: D860::D9D5::1C57::A6B3\n node_location: Europe - France\n tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000\n ext: 0x52024672616E636500\n pkey: 0xC6FB9B9370C01F52AD31D1B22A8AB1F1B18AF190EB48BA8F7E24E3DA6E67C8C2\n",
"errors": null,
"id": 1
}