Closed ghost closed 2 years ago
const connection = new Connection("https://api.devnet.solana.com", "singleGossip"); const orca = getOrca(connection, Network.DEVNET);
One caveat to note is that there are only a few devnet pools avaialble, so if you try to access pools that are only available on mainnet, the code will throw an error.
Changes
Usage
One caveat to note is that there are only a few devnet pools avaialble, so if you try to access pools that are only available on mainnet, the code will throw an error.