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

exclude_dexes and priority_fee

Open cryptoraptor opened this issue 1 year ago • 4 comments

Hey, great work on SDK!

There is issue with exclude_dexes in jupiter swap function quote_url += "&excludeDexes=" + ','.join(exclude_dexes).lower -> quote_url += "&excludeDexes=" + ','.join(exclude_dexes)

remove .lower because the query fails

also priority_fee needs to be added to swap Line:645 priority_fee: int=0

and here Line:690 transaction_parameters = { "quoteResponse": quoteResponse, "prioritizationFeeLamports":priority_fee, "userPublicKey": user_public_key, "wrapAndUnwrapSol": wrap_unwrap_sol }

and again thanks for great job!

cryptoraptor avatar Mar 02 '24 15:03 cryptoraptor

Hello, thanks a lot for finding those issues, very great! I'll fix that tomorrow, thanks a lot for your contribution

0xTaoDev avatar Mar 02 '24 20:03 0xTaoDev

Can the priority fee be added to the DCA method? Im getting a lot of failed tx

techbro111 avatar Mar 23 '24 00:03 techbro111

Can the priority fee be added to the DCA method? Im getting a lot of failed tx

I didn't find any information about setting the priority fee for DCA, did you find any solution to this problem?

0xTaoDev avatar Apr 08 '24 15:04 0xTaoDev

Is priority fee able to be added to a swap as im unable to get it working when trying to add it in.

iLewisMC avatar Mar 16 '25 10:03 iLewisMC