Deletes datum for the selected chain in the network.

CLI Example

Command syntax:

mempool delete 
-net <net_name> 
-chain <chain_name> 
-datum <datum_hash>

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 - name of the chain
-datum - hash of the datum

Example:

Command:

cellframe-node-cli mempool delete 
-net foobar 
-chain main 
-datum 0x68960FE80F5A31328EC15AAF117F4A4C24573BC3B965877FA840FE7A13EC2BDC

Response:

Datum 0x68960FE80F5A31328EC15AAF117F4A4C24573BC3B965877FA840FE7A13EC2BDC deleted

JSON-RPC Example

Command:

curl --unix-socket /opt/cellframe-node/var/run/node_cli 
-X POST http://localhost/connect 
-d '{"method":"mempool", "params":["mempool;delete;-net;foobar;-chain;main;-datum;0x68960FE80F5A31328EC15AAF117F4A4C24573BC3B965877FA840FE7A13EC2BDC"], "id":"1"}'

Response:

{
  "type": 2,
  "result": [
    "Datum 0x68960FE80F5A31328EC15AAF117F4A4C24573BC3B965877FA840FE7A13EC2BDC deleted"
  ],
  "errors": null,
  "id": 1
}