raydium-sdk icon indicating copy to clipboard operation
raydium-sdk copied to clipboard

Liquidity.fetchInfo processed commitment

Open bossikkk opened this issue 1 year ago • 1 comments

Function don't have commitment param const poolInfo = await Liquidity.fetchInfo({ connection: lib, poolKeys });

How can I get fetchInfo from processed commitment?

bossikkk avatar Feb 20 '24 16:02 bossikkk

You can control it directly from the connection

const connection = new Connection('YOUR RPC', 'processed');

YoussefAfla avatar Mar 13 '24 17:03 YoussefAfla