Terp Network Docs
APIsRpcUnsafe
GET
/unsafe_flush_mempool

Flush flushes out the mempool. It acquires a read-lock, fetches all the transactions currently in the transaction store and removes each transaction from the store and all indexes and finally resets the cache.

Note, flushing the mempool may leave the mempool in an inconsistent state.

Response Body

application/json

application/json

curl -X GET "https://rpc.terp.network/unsafe_flush_mempool"
{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "property1": null,
    "property2": null
  }
}
{
  "id": 0,
  "jsonrpc": "2.0",
  "error": "Description of failure"
}