raydium-io/raydium-sdk

Liquidity.fetchInfo processed commitment

bossikkk opened this issue · 1 comments

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

How can I get fetchInfo from processed commitment?

You can control it directly from the connection

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