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

Got transaction_id, but swap did not complete. #24

Closed
Evg20095 opened this issue Jun 16, 2024 · 3 comments
Closed

Got transaction_id, but swap did not complete. #24

Evg20095 opened this issue Jun 16, 2024 · 3 comments

Comments

@Evg20095
Copy link

Thanks for the great job!
I'm using a code snippet, I'm going to exchange sol for usdt, I get a transaction_id, but the swap is not executed, and there is no such transaction in explorer.solana.com.
Can you tell me what this might be connected with?

@GoodSamoSamo
Copy link

Might need to include a priority fee to ensure it gets picked up and pushed through.

I'm still trying to figure out how to include the priority fee param. It was apparently added, but I keep getting an error when trying to push it through.

#25

@VovanPower
Copy link

I've already tried all the options, it doesn't work :( what will be the options?

@jmancool65
Copy link

Adding these parameters to the swap parameters fixed this issue for me :
"prioritizationFeeLamports": "auto",
"dynamicComputeUnitLimit": True,

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

4 participants