I am using TypeScript to access a Liquidity Pool (LP) on meteora via their DLMM API. When trying to call
const { userPositions } = await dlmmPool.getPositionsByUserAndLbPair(WALLET_KEYPAIR.publicKey);
I receive the error:
Error managing LP position: Error: 410 Gone: {"jsonrpc":"2.0","error":{"code": 410, "message":"The RPC call or parameters have been disabled"}, "id": "00b330c9-887c-4e99-87a3-5db59098fe45" }
at ClientBrowser.callServer (C:\dev\Cryptos\Meteora\node_modules\@solana\web3.js\src\connection.ts:1699:18) at processTicksAndRejections (node:internal/process/task_queues:105:5)
Trying to call without parameters works but returns an empty position array even though I have created one position to a DLMM pool using the web interface (on meteora.ag).
I would like to retrieve my existing position to be able to update/remove it. How should I use this API? Thanks