This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
Add filtering capability to parity_pendingTransactions
#8269
Labels
F8-enhancement 🎊
An additional feature request.
M6-rpcapi 📣
RPC API.
P7-nicetohave 🐕
Issue is worth doing eventually.
Milestone
Is there a way to limit the information returned from parity_pendingTransactions over JSON RPC?
Currently it returns all transactions in mempool with full transaction data in JSON format....which takes a long time to parse.
Is it possible to get only the transaction hashes?
In my use case I'd like to be able to poll the mempool and then compare it against my previously list of mempool transactions and then only lookup the full details on the new ones (so probably lookup 5 or 10 new transactions every few seconds, as opposed to trying to pull details for 10000 transactions every time)
With only a list of transaction hashes this compare function can be performed quite quickly, but with not with parsing a massive JSON.
The text was updated successfully, but these errors were encountered: