Displays the number of elements in the mempool for a given network. ## Request Structure `JSON object:` ```JSON { "method": "mempool", "subcommand": ["count"], "arguments": { "net": "network_name", "chain": "chain_name" }, "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`) `optional` ### Curl Example `Request:` ```actionscript curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d ' { "method": "mempool", "subcommand": ["count"], "arguments": { "net": "Backbone" }, "id": "1" }' ``` `Response:` ```json { "type": 2, "result": [ { "net": "Backbone", "chains": [ { "name": "zerochain", "count": 3 }, { "name": "main", "count": 4 } ] } ], "id": 1 } ```