Skip to content

The liquidityFile is too large. Is there a faster way to get the poolInfo from two tokens? #14

Closed
@y0unghe

Description

@y0unghe

Whenever the swap executes the program will call the following codes to get the poolInfo to load the liquidity file. The file is 467MB. Is there a better and faster way to get the poolInfo?

await raydiumSwap.loadPoolKeys(Raydium_Liquidity_File);

let poolInfo = raydiumSwap.findPoolInfoForTokens(sourceToken, destinationToken);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions