jupiter-python-sdk icon indicating copy to clipboard operation
jupiter-python-sdk copied to clipboard

Transaction sent, but transaction does not exist

Open g0tzz opened this issue 1 year ago • 6 comments

Hello, I've noticed that even though I get the output like below, the transaction si not executed 9 out of 10 times. Is that normal? Example:

Transaction sent: https://explorer.solana.com/tx/2YiaTwoaMa9fY53KpjAGcknHicrew5RBmCtLSSRyoVSyMuFaTmHsZ7QcDwDRGwRuSHHYEboGCvsMjXoEcSFWwdUX

This did not do the transaction, how can I be sure transaction is executed?. The only problem is that the output is ok, the transaction is not executed most of the time.

g0tzz avatar Nov 18 '24 01:11 g0tzz

i have seen the same. curious if you figured it out?

skpullano avatar Dec 10 '24 03:12 skpullano

I'm having the same issue, especially when swapping newly released tokens. This seems to be due to limited liquidity or uninitialized token accounts. It would be very helpful if Jupiter's API could include a feature to automatically check for liquidity pools on other DEXs and route swaps there when needed, similar to how the website handles unsupported tokens more effectively.

bzm10 avatar Dec 31 '24 15:12 bzm10

hi is anyone can fix the problem? i come with the same issue /

0xSakataGintoki avatar Jan 20 '25 09:01 0xSakataGintoki

This

Hello, I've noticed that even though I get the output like below, the transaction si not executed 9 out of 10 times. Is that normal? Example:

Transaction sent: https://explorer.solana.com/tx/2YiaTwoaMa9fY53KpjAGcknHicrew5RBmCtLSSRyoVSyMuFaTmHsZ7QcDwDRGwRuSHHYEboGCvsMjXoEcSFWwdUX

This did not do the transaction, how can I be sure transaction is executed?. The only problem is that the output is ok, the transaction is not executed most of the time.

This implies the transaction was sent out to the network but unfortunately didn't make it into a block and expired. It only take about 90 seconds for a transaction to expire on Solana. There're several reasons why your transaction might not be picked of which the most important remains the incentive for the miner to do so.

You'd have to match up the priority fee of the most recent successful transactions. Unfortunately, Jupiter doesn't automatically this for you, However, they expose options to help you with it.

perhaps you can post some code snippet for further pointer

boldrack avatar Jan 23 '25 20:01 boldrack

Hi. I had teh same problem. Any solution?

gapinvestor avatar Jan 31 '25 16:01 gapinvestor

Hi. I had teh same problem. Any solution?

Yeah Solution is all just sending along the priority fee, enough to get the TX included. you can estimate this by getting an average of all recent successful transaction then maybe bump it by 10% to stay above average.

boldrack avatar Feb 03 '25 14:02 boldrack