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

The token is not tradable #13

Open
CRY-D opened this issue Mar 22, 2024 · 9 comments
Open

The token is not tradable #13

CRY-D opened this issue Mar 22, 2024 · 9 comments

Comments

@CRY-D
Copy link

CRY-D commented Mar 22, 2024

Ah, it's me again ;)
I'm currently facing the following issue: I know it's not the library's issue but the DEX jup aggregator. When I snap a newly created pools on Raydium, roughly within the first 10 to 20 seconds, and then execute the trade, it always returns the message 'The token whatever is not tradable :('.

However, when I search the token address on Dexscreener or Birdeye ... oh my, is already there and tradable 💯.

Screenshot_20240322_025903

@jglrmm
Copy link

jglrmm commented Apr 4, 2024

Hello, I have the same issue, have you found any alternative?

@0xTaoDev
Copy link
Owner

0xTaoDev commented Apr 8, 2024

Hello, if I'm not mistaken, once the token met the criterias (token metadata, $250 liquidity buy/sell, price impact below 30%), it will be listed automatically within few minutes.
So that's probably why there is a delay.

Source: https://docs.jup.ag/docs/get-your-token-onto-jup#tokens-with-sufficient-liquidity-and-on-chain-metadata-are-automatically-listed

@Allen-Taylor
Copy link

Ah, it's me again ;) I'm currently facing the following issue: I know it's not the library's issue but the DEX jup aggregator. When I snap a newly created pools on Raydium, roughly within the first 10 to 20 seconds, and then execute the trade, it always returns the message 'The token whatever is not tradable :('.

However, when I search the token address on Dexscreener or Birdeye ... oh my, is already there and tradable 💯.

Screenshot_20240322_025903

Jupiter doesn't trade new pairs. You have to use the Raydium SDK.

@aleph0ne
Copy link

Is there a python Raydium API/SDK? I haven't found one.

@Allen-Taylor
Copy link

Is there a python Raydium API/SDK? I haven't found one.

Check this out.

https://github.com/leq6c/soldexpy

This guy has a good start on doing Raydium swaps, but unfortunately the code is super slow, even with a good RPC. This wouldn't be suitable for an production level code, in fact he expressly says that it is experimental.

If this code could be improved upon, it could be great.

@nandubatchu
Copy link

Noticed that some of the tokens are available on their private api host: https://edge-quote-api.jup.ag while the same tokens are deemed not tradable on https://quote-api.jup.ag

@alekskravchenko
Copy link

alekskravchenko commented May 29, 2024

Noticed that some of the tokens are available on their private api host: https://edge-quote-api.jup.ag while the same tokens are deemed not tradable on https://quote-api.jup.ag

Yes, but can't send ".swapPost" to this url. Got:
'Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39', 'Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 33807 of 1353845 compute units', 'Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked'

@bambi-bf
Copy link

bambi-bf commented Jul 18, 2024

When I build transaction including two swap instructions and sol transfer instruction:
I used jupiter swap instructions api.
"Program log: Instruction: Route"
"Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39"
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 18729 of 778155 compute units"
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"

@siong1987
Copy link

if you run into "Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39" error, that means that you are missing the necessary token accounts to swap to and from.

this can happen if you are skipping setupInstructions if you are using /swap-instructions.

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

10 participants