I’m new to Infura and still trying to figure out how things work… There is one function I’m trying to get done which is very important to me. I need to get the latest transaction (pending) for an account the moment it is registered on the blockchain. My understanding is that I need to do the following:
- Use WSS eth_subscribe (https://infura.io/docs/ethereum/wss/eth-subscribe)
- Use the newPendingTransactions event in eth_subscribe (How to get pending transactions using Infura?)
Is the above correct? If not can you please give some guidance?