Gets information about definite poll

Request Structure

JSON object:

{
  "method": "poll",
  "subcommand": ["dump"],
  "arguments": {
    "net": "network_name",
    "hash": "poll_hash"
  },
  "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 hash - hash of the poll tx

Curl Example

Request:

curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
  "method": "poll",
  "subcommand": ["dump"],
  "arguments": {
    "net": "riemann",
    "hash": "0x687A7CDBC0E0108DED5E6BA1DE457E1ACB7FEC39A030D869411053F96199E23C"
  },
  "id": "1"
}'

Response:

{
  "type": 2,
  "result": [
    {
      "poll_tx": "0x687A7CDBC0E0108DED5E6BA1DE457E1ACB7FEC39A030D869411053F96199E23C",
      "question": "Question_string",
      "token": "tKEL",
      "can_change_status": false,
      "delegated_key_required": false,
      "results": [
        {
          "option_id": 0,
          "option_text": "Option0",
          "votes_count": 0,
          "votes_percent": 0,
          "votes_sum": "0.0",
          "votes_sum_datoshi": "0",
          "votes_sum_weight": "0.0"
        },
        {
          "option_id": 1,
          "option_text": "Option1",
          "votes_count": 0,
          "votes_percent": 0,
          "votes_sum": "0.0",
          "votes_sum_datoshi": "0",
          "votes_sum_weight": "0.0"
        },
        {
          "option_id": 2,
          "option_text": "OptionN",
          "votes_count": 0,
          "votes_percent": 0,
          "votes_sum": "0.0",
          "votes_sum_datoshi": "0",
          "votes_sum_weight": "0.0"
        }
      ],
      "votes_count": 0,
      "total_sum": "0.0",
      "total_sum_datoshi": "0"
    }
  ],
  "id": 1
}