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

sell problem: Failed to get sell transaction TypeError: The first argument must be of type string #3

Open
jk-85 opened this issue Jan 2, 2025 · 3 comments

Comments

@jk-85
Copy link

jk-85 commented Jan 2, 2025

I got this. Maybe you have an idea:

first buy done
sell start
sell start
Failed to get sell transaction TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at Function.from (node:buffer:324:9)
at /home/manuel/pumpfun/pumpfun-volume-bot/src/utils/swapOnlyAmm.ts:75:39
at Generator.next ()
at fulfilled (/home/manuel/pumpfun/pumpfun-volume-bot/src/utils/swapOnlyAmm.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:105:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
Error getting sell transaction

@whistledev411
Copy link
Owner

Thanks for sharing issues about my bot.
This error is occuring because you're trying with "Not verified token" of jupitor.
My bot is using jupitor swap for sell functionality.
It works well for new generated token of pumpfun but doesn't work for old & "Not verified" tokens(low liquidity, no trades, no holder...).
We can solve this problem using pumpfun SDK.
If we use this one, bot works for any pumpfun tokens even, its not verified.
If you have any question, feel free to reach out me via telegram.

@zhengger
Copy link

Sir, will you add pumpfun SDKv to this bot?

@whistledev411
Copy link
Owner

Currently dont have time to work on this project.
Will try to add asap.

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

3 participants