Removes event from the new forming round and puts it its datum back to mempool.

Request Structure

JSON object:

{
  "method": "dag",
  "subcommand": ["event","cancel"],
  "arguments": {
    "net": "network_name",
    "chain": "chain_name",
    "event": "event_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) event - hash of the event

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

Curl Example

Request:

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

Response:

{
  "type": 0,
  "result": "Successfuly removed event (null) from the new forming round ",
  "errors": null,
  "id": 1
}