I’m building a Solana copy trading bot and I’m running into a performance bottleneck. Right now, I subscribe to the target wallet via WebSocket, and once I get a transaction signature I call the Helius getTransaction RPC. The problem is that for some swaps the response can take up to 20 seconds.
Is there any way to reduce this latency or improve the speed?