Closed TIANJINFENG closed 3 months ago
No issues was found in sdk, maybe should check your rpc node.
Sdk only subscribe token account change(https://github.com/raydium-io/raydium-sdk-V2/blob/master/src/raydium/account/account.ts#L124 ) when needs to fetch token account data, no other usage of websocket. And the error was returned by your rpc.
Each transaction creates a ws, causing the memory usage to increase continuously
ws errror ws error: Unexpected server response: 200