Lists all key-delegation transactions
CLI Example
Command syntax:
srv_stake list tx
-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
Example:
Command:
cellframe-node-cli srv_stake list tx
-net foobar
Response:
Fri Feb 16 13:17:40 2024
tx_hash: 0xC7C41EE4DD07879E1625CE66E2010B9CAD928A41764A54A1EC1A72E658332D8E
signing_addr: ptV4n68gTebdUTcbkL5iVbJ3s8tLFWXqxrzosKV7zJCC5wrqxRF4e7HyxfHtspErJyPW1jU9ybnxxQRUM1SSzuXzwGLzyfufWbR6PuvF
signing_hash: 0x26B17A851A9ECD8A0DCE7116725A9A6405DA75404EE2C2EC6C0E9D50A893C629
node_address: ABCD::0000::0000::0000
value: 10.0 (10000000000000000000)
JSON-RPC Example
Command:
curl -X POST http://rpc.cellframe.net/connect -d '{"method":"srv_stake", "params":["srv_stake;list;tx;-net;foobar"], "id":"1"}'
Response:
{
"type": 0,
"result": "-------------------------------------------------------------------------------------------------------------------- \nFri Feb 16 13:17:40 2024\n \ntx_hash:\t0xC7C41EE4DD07879E1625CE66E2010B9CAD928A41764A54A1EC1A72E658332D8E \nsigning_addr:\tptV4n68gTebdUTcbkL5iVbJ3s8tLFWXqxrzosKV7zJCC5wrqxRF4e7HyxfHtspErJyPW1jU9ybnxxQRUM1SSzuXzwGLzyfufWbR6PuvF \nsigning_hash:\t0x26B17A851A9ECD8A0DCE7116725A9A6405DA75404EE2C2EC6C0E9D50A893C629 \nnode_address:\tABCD::0000::0000::0000 \nvalue:\t\t10.0 (10000000000000000000) \n",
"errors": null,
"id": 1
}