Pending Transaction Event WSS

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:

Is the above correct? If not can you please give some guidance?

Hi @ceds - welcome to the Infura community! You’re correct - you should be able to see the latest pending transactions with those commands. Let us know if you’re running into any other issues.