Subscribe to alll Trxs as well as external trxs rejected by the node because Trx queue logic

Hi All we looking to receive external trxs before they go through the dropping or acceptance logic of a node and being added to the transaction queue - - the aim is to catch any double spend attempts -is this something we could subscribe to through Infura - essentially listing to trx messages on the Wire Protocol Devp2p or possibly there is a library for us to use to access this protocol

Hi @Daniel_Lipshitz. It sounds like you just want raw access to the devp2p wire protocol data. I would recommend taking a look at specifically their example apps in

It should be relatively straightforward for you to add custom event/logging hooks to the new transaction events that are received over the p2p network.

1 Like

Yes thanks - that looks like exactly what we looking for