doc: add mempool/contents rest verbose and mempool_sequence args

This commit is contained in:
Andrew Toth 2022-10-04 09:19:05 -04:00
parent 52a31dccc9
commit 1ff5d61dfd
No known key found for this signature in database
GPG Key ID: 60007AFC8938B018
1 changed files with 6 additions and 2 deletions

View File

@ -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
-------------