Shows reward transactions for the validators. ## Request Structure `JSON object:` ```JSON { "method": "srv_stake", "subcommand": ["reward"], "arguments": { "net": "network_name", "node_addr": "node_address", "date_from": "YYMMDD", "date_to": "YYMMDD", "brief": "null", "limit": "value", "offset": "value", "head": "null" }, "id": "1" } ``` `Parameters:` **`net (network_name)`** - 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]] **`node_addr`** - address of the master node **`date_from`** - filtration by date since "YYMMDD" `optional` **`date_to`** - filtration by date until "YYMMDD" `optional` **`brief`** - brief output without details `optional` **`limit`** - quantity of elements (transactions) to print `optional` **`offset`** - the number of the element from which printing will start `optional` **`head`** - prints elements from the first one `optional` ### Curl Example `Request:` ```actionscript curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{ "method": "srv_stake", "subcommand": ["reward"], "arguments": { "net": "riemann", "node_addr": "6074::5C74::C320::A0F5", "head": "null", "limit": "2" }, "id": "1" }' ``` `Response:` ```json { "type": 2, "result": [ [ { "limit": 2 }, { "validator addr": "6074::5C74::C320::A0F5" }, { "tx_hash": "0x14DA02EFCCD1FDA4A548DBB30CB7422B750224B704FCE5173A343B4592A6EBA1" }, { "block hash": "0x16D2710382D11CBACFE4DC49FE40113D1699F8BEB169297E7DAD6C179C57423D" }, [ { "pkey_hash": "0xC51165F05F83FDF16D682658927B65F90F930E147D31AE15662842F174538F25", "reward value": "132696666666666666666", "reward coins": "132.696666666666666666" } ], { "block hash": "0x3531A89FE9CD88583D5C7E34366F10FAABDC8787D78BFEABBF157E694DB23B1F" }, { "Rewards value (calculated)": "707513333333333333328", "Rewards coins (calculated)": "707.513333333333333328" }, { "Rewards value (tx_out)": "707463333333333333328", "Rewards coins (tx_out)": "707.463333333333333328" }, # this output was cut to make it readable ], { "Rewards value (calculated)": "367919999999999999995", "Rewards coins (calculated)": "367.919999999999999995" }, { "Rewards value (tx_out)": "367869999999999999995", "Rewards coins (tx_out)": "367.869999999999999995" }, { "Rewards value (total)": "1075333333333333333323", "Rewards coins (total)": "1075.333333333333333323" } ] ], "id": 1 } ```