Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

fetchInfo error(This is Raydium sdk error) #19

Open
coin5555 opened this issue Jan 12, 2024 · 0 comments
Open

fetchInfo error(This is Raydium sdk error) #19

coin5555 opened this issue Jan 12, 2024 · 0 comments

Comments

@coin5555
Copy link

please help me.
This is my code.
const poolInfo = await Liquidity.fetchInfo({ connection, poolKeys });
"Liquidity is Raydium sdk function. poolKeys is publicKey type."
This is error.
tx failed => Error: simulate log not match keyword (argument="keyword"), value="GetPoolData"), code=INVALID_ARGUMENT, module=common/web3, version=1.1.0-beta.1)
at W.makeError (logger.ts:216:1)
at W.throwError (logger.ts:228:1)
at W.throwArgumentError (logger.ts:232:1)
at W.assertArgument (logger.ts:246:1)
at Wt (web3.ts:252:1)
at async qe.fetchMultipleInfo (liquidity.ts:1622:1)
at async qe.fetchInfo (liquidity.ts:1566:1)
at async calcAmountOut (raydium.js:45:1)
at async tradeContext.js:191:1

How to solve this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant