I'm attempting to realtime-monitor PanCakeSwap swaps (so BSC blockchain).
I found this doc page: https://besu.hyperledger.org/en/stable/HowTo/Interact/APIs/RPC-PubSub/
It cites an example:
{"id": 1, "method": "eth_subscribe", "params": ["newPendingTransactions", {"includeTransactions":true}]}
However every websocket connection I have tried ignores this flag. And this issue seems to say the feature has been reverted (likely because of high network load).
Is support for this flag set at a blockchain level (i.e. it's impossible for PanCakeSwap) or implementation level (i.e. maybe some provider provides it)?
If the latter, does anyone know of a provider that provides it?
And if not, would I be able to accomplish this by running a Besu node locally?
My current approach is to subscribe without the flag, and inspect each transaction. But this has crippling network load.