raydium-io / raydium-sdk

An SDK for building applications on top of Raydium.
https://sdk.raydium.io
GNU General Public License v3.0
308 stars 125 forks source link

Liquidity.fetchInfo processed commitment #60

Open bossikkk opened 4 months ago

bossikkk commented 4 months ago

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

How can I get fetchInfo from processed commitment?

YoussefAfla commented 3 months ago

You can control it directly from the connection

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