diff options
author | Andrew Toth <andrewstoth@gmail.com> | 2022-10-04 09:19:05 -0400 |
---|---|---|
committer | Andrew Toth <andrewstoth@gmail.com> | 2022-10-05 09:25:07 -0400 |
commit | 1ff5d61dfdaf8987e5619162662e4c760af76a43 (patch) | |
tree | af52891d1d161bd41eadec95773b089bbb43d4d6 | |
parent | 52a31dccc92366efb36db3b94920bdf8b05b264c (diff) | |
download | bitcoin-1ff5d61dfdaf8987e5619162662e4c760af76a43.tar.xz |
doc: add mempool/contents rest verbose and mempool_sequence args
-rw-r--r-- | doc/REST-interface.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 265b74ee9a..9173f08efb 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=<true|false>&mempool_sequence=<false|true>` 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 ------------- |