1

I'm using the websocket subscribe block, There is a delay of about 2-3 seconds.Is there a faster way?

2 Answers 2

4

Running a geyser plugin. Or better would be setting up a Webhook and listening to the address with a provider who does this for you like Helius or HelloMoon.

0

You can use "onAccountChange" method in solanaWeb3.js package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.