Documentation exported from Bitcoin Core 22.0

savemempool (22.0.0 RPC)

blockchain

control

generating

mining

network

rawtransactions

signer

util

wallet

zmq

savemempool

Dumps the mempool to disk. It will fail until the previous dump is fully loaded.

Result:
null    (json null)

Examples:
> bitcoin-cli savemempool 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "savemempool", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/