tradingstrategy-ai / web3-ethereum-defi

A Python library for trading automation on DeFi, data research and integration. Supporting Uniswap, Aave, Chainlink, USDC and other protocols.
https://tradingstrategy.ai
MIT License
554 stars 122 forks source link

Set gas price manually #212

Open azarshab-saeed opened 1 month ago

azarshab-saeed commented 1 month ago

Hi How I can set gas price price manually in uniswap v2 and v3 dex swap token?

miohtama commented 2 weeks ago

It depends on the chain.

You can look sign_transaction_with_new_nonce as an inspiration.