Processes a datum for the selected chain in the specified network.
Also starts a consensus round for a provided datum.
> [!ATTENTION] warning
> - If datum data doesn't satisfy consensus requirements, it will be discarded.
> - Function "PROC" is available only for the Root Nodes in the zerochain and Master Nodes in the mainchain.
> - This command will process transaction with any comission! Parameter minimum_comission will not be taken into account!
You can also use enable auto-processing function in general configuration file - **[[Cellframe Node General Config#Section [mempool|mempool section]]**.
## Request Structure
`JSON object:`
```JSON
{
"method": "mempool",
"subcommand": ["proc"],
"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
### Curl Example
`Request:`
```actionscript
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '
{
"method": "mempool",
"subcommand": ["proc"],
"arguments": {
"net": "foobar",
"chain": "main",
"datum": "0x68960FE80F5A31328EC15AAF117F4A4C24573BC3B965877FA840FE7A13EC2BDC"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"datum": {
"hash": "0x68960FE80F5A31328EC15AAF117F4A4C24573BC3B965877FA840FE7A13EC2BDC",
"type": "DATUM_CA",
"ts_created": {
"time_stamp": 1711531823,
"str": "Wed Mar 27 09:30:23 2024\n"
},
"data_size": 1285
},
"verify": {
"isProcessed": true,
"notice": "Removed datum from mempool."
}
}
],
"errors": null,
"id": 1
}
```