Lists srv-stake orders of specified type within specified net name
CLI Example
Command syntax:
srv_stake order list
[fee | validator | staker]
-net <net_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
-fee/validator/staker - extra parameter (type of order - optional)
Example:
Command:
cellframe-node-cli srv_stake order list
-net foobar
Response:
Order 0x75ECF19E4C0A53B4517981CDB3CD3AC84CC8C018CD1D3BB9A1C0B4C65A27F23E ==
version: 3
direction: SERV_DIR_SELL
created: Wed, 14 Feb 2024 13:10:09 +0000
srv_uid: 0x0000000000000013
price: 2.0 (2000000000000000000)
price_token: BUZ
units: 1
price_unit: PIECES
node_addr: ABCD::EF00::0000::0000
node_location: None - None
tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000
ext: 0x0
pkey: 0xFB53C0202DBDE1ED42BFAA38935E0036E1CA96E282AB2087E0BEDCAF0D9792C6
Value in this order type means minimum fee for validator acceptable for process transactions
== Order 0x8ABFFB3EB98CA079C00E3BF1152F7CF1F1BEAF5385F48EFF573941C1BFAEF80B ==
version: 3
direction: SERV_DIR_SELL
created: Wed, 14 Feb 2024 13:10:09 +0000
srv_uid: 0x0000000000000013
price: 4.0 (4000000000000000000)
price_token: BUZ
units: 1
price_unit: PIECES
node_addr: 73FF::96C4::AF70::B047
node_location: None - None
tx_cond_hash: 0x0000000000000000000000000000000000000000000000000000000000000000
ext: 0x0
pkey: 0x710C7C81A9DB8844603797975F7CF3541D12B66A904246A27658F22F110AD802
Value in this order type means minimum fee for validator acceptable for process transactions
JSON-RPC Example
Command:
curl -X POST http://rpc.cellframe.net/connect -d '{"method":"srv_stake", "params":["srv_stake;order;list;-net;foobar"], "id":"1"}'
Response:
{
"type": 0,
"result": "same as cli response",
"errors": null,
"id": 1
}