Lists PoA cerificates for this network
CLI Example
Command syntax:
net poa_certs list
-net <chain_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 net -net foobar poa_certs list
Response:
poa_certs:
0x51EF21BDA4A45B537B8D41CED7F8F9A05B218EC62C1C4DCCADE356174E218490
JSON-RPC Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli
-X POST http://localhost/connect
-d '{"method":"net", "params":["net;-net;foobar;poa_certs;list"], "id":"1"}'
Response:
{
"type": 2,
"result": [
{
"poa_certs": [
"0x51EF21BDA4A45B537B8D41CED7F8F9A05B218EC62C1C4DCCADE356174E218490"
]
}
],
"errors": null,
"id": 1
}