From 1ff5d61dfdaf8987e5619162662e4c760af76a43 Mon Sep 17 00:00:00 2001 From: Andrew Toth Date: Tue, 4 Oct 2022 09:19:05 -0400 Subject: [PATCH] doc: add mempool/contents rest verbose and mempool_sequence args --- doc/REST-interface.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 265b74ee9af..9173f08efb9 100644 --- a/doc/REST-interface.md +++ b/doc/REST-interface.md @@ -123,11 +123,15 @@ Returns various information about the transaction mempool. Only supports JSON as output format. Refer to the `getmempoolinfo` RPC help for details. -`GET /rest/mempool/contents.json` +`GET /rest/mempool/contents.json?verbose=&mempool_sequence=` Returns the transactions in the mempool. Only supports JSON as output format. -Refer to the `getrawmempool` RPC help for details. +Refer to the `getrawmempool` RPC help for details. Defaults to setting +`verbose=true` and `mempool_sequence=false`. + +*Query parameters for `verbose` and `mempool_sequence` available in 25.0 and up.* + Risks -------------