Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createSwapFromSolanaInstructions not working #13

Open
MdAyman7 opened this issue Nov 13, 2024 · 1 comment
Open

createSwapFromSolanaInstructions not working #13

MdAyman7 opened this issue Nov 13, 2024 · 1 comment

Comments

@MdAyman7
Copy link

I want to create a transaction using the instructions manually, I am using the function called createSwapFromSolanaInstructions but it is giving some error, can someone please help on this to fix?

TypeError: Cannot read properties of undefined (reading 'getMultipleAccountsInfo')
at getAddressLookupTableAccounts (/Users/xxx/Documents/personal/xxx/yyy/node_modules/@mayanfinance/swap-sdk/dist/index.js:4615:59)
at createSwiftFromSolanaInstructions (/Users/xxx/Documents/personal/xxx/yyy/node_modules/@mayanfinance/swap-sdk/dist/index.js:4918:24)
at createSwapFromSolanaInstructions (/Users/xxx/Documents/personal/xxx/hype-backend/node_modules/@mayanfinance/swap-sdk/dist/index.js:6051:12)
at swapMayan (/Users/xxx/Documents/personal/xxx/yyy/src/controllers/tokens.controller.ts:1026:67)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

@mohandesjiri
Copy link
Collaborator

Could you please share your code snippet showing how you invoke the function? Additionally, let me know the version of the SDK you're using.

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

No branches or pull requests

2 participants