Is there a way to access to the mempool through RPC API? And is there a way to manipulate the mempool from the outside?
2 Answers
You can view the mempool via this RPC API endpoint.
You currently can't manipulate the mempool with the RPC API. You can change the mempool filter settings though (which are used to filter out operations based on min fee requirements).
I noticed that /chains/<chain_id>/mempool/pending_operations
is not described anywhere in the official documentation.
-
Indeed, certain shell RPCs are not listed there for technical reasons. However, the
mempool
RPCs are documented in the Open API spec: tezos.gitlab.io/api/openapi.html Mar 7, 2022 at 18:24