Searches for round with event which contains the specified datum.

Request Structure

JSON object:

{
  "method": "dag",
  "subcommand": ["round","find"],
  "arguments": {
    "net": "network_name",
    "chain": "chain_name",
    "datum": "datum_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 chain - the name of chain (main or zerochain) datum - hash of the datum

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

0x414C8D377E28C387FF2AB893670BEEA10F5126A8655E239E12FF348F70FB4F40

Command

cellframe-node-cli dag round find 
-net Backbone 
-chain zerochain 
-datum 0x6F3A9D8E84906181093B88861357F953D349A2F457604D46EC8CC9BC969310F2

Response

Datum with hash 0x6F3A9D8E84906181093B88861357F953D349A2F457604D46EC8CC9BC969310F2 found in 1 events:
Events:
1) hash:0xA4A01E880A0260C802EA201F6AAF6CACE61B404E4ECB20E06D582FAFC8B863C1 cell_id:0

Request Structure

JSON object:

curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '
{
  "method": "dag",
  "subcommand": ["round","find"],
  "arguments": {
    "net": "riemann",
    "chain": "zerochain",
    "datum": "0x5B20594334D6B94EC96CCE234CC56785376D79DCB3D7445D5C2AF4C52B225546"
  },
  "id": "1"
}'

Response:

{
  "type": 0,
  "result": "Completing round:\nEvent 0xEC910C7514AAE7E92D92FFC6EEC7DB88AB262625083208CCE659133EC1E60F74 verification passed\nEvent 0xEC910C7514AAE7E92D92FFC6EEC7DB88AB262625083208CCE659133EC1E60F74 added in chain successfully\n",
  "errors": null,
  "id": 1
}