solxtence / solana-swap

Package for performing token swaps ( Pump.fun, Moonshot, Raydium, Orca... ) - Jito integrated 🚀
https://docs.solxtence.com/swap
MIT License
34 stars 11 forks source link

Cant Swap newly created pairs #6

Closed sanjulaonline closed 1 month ago

sanjulaonline commented 1 month ago

When i'm going to perform a swap in newly launched token, this error will appear from the api

"Error response from swap API: {'error': 'ApiError', 'errorCode': 'COULD_NOT_FIND_ANY_ROUTE', 'message': 'COULD NOT FIND ANY ROUTE', 'statusCode': 400}"

solxtence commented 1 month ago

This error means the API couldn't find the token. this can sometimes be solved by changing the transaction type to v0

sanjulaonline commented 1 month ago

This error means the API couldn't find the token. this can sometimes be solved by changing the transaction type to v0

but after apply v0, there is 500 error appear, cant solve

desprdo commented 1 month ago

Can I have the full error message?