Shows base reward for signing one block at one minute.

Command syntax:

block reward show 
-net <net_name> 
-chain <chain_name>  
-cert <poa_cert_name> 
-value <value>

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
-chain - the name of Chain. The list of chains can be found in the directory <Config_dir> \ etc \ network \ <network_name> or by the Cellframe-Node-CLI using command - net list chains
-poa_cert - name of the private master node certificate
-value - number of tokens in datoshi 

If you request command in the Cellframe network, use parameter -chain main.

CLI Example

Command:

cellframe-node-cli block reward show 
-net Backbone 
-chain main

Response:

Current base block reward is 2.851988815387151461 

JSON-RPC Example

JSON-RPC Request - BLOCK SHOW REWARD

Shows base reward for signing one block at one minute in the specified network.

Request Structure

JSON object:

{
  "method": "block",
  "subcommand": ["reward","show"],
  "arguments": {
    "net": "network_name",
    "chain": "chain_name",
  },
  "id": "1"
}

Parameters:

net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received using - Node Command - NET LIST chain - the name of chain (main or zerochain)

If you make a request in the Cellframe network, use parameter chain:main.

Curl Example

Request:

curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
  "method": "block",
  "subcommand": ["reward","show"],
  "arguments": {
    "net": "riemann",
    "chain": "main",
  },
  "id": "1"
}'

Response:

{
  "type"2,
  "result": [
    {
      "status""Current base block reward is 2.8\n"
    }
  ],
  "id"1
}
Link to original