Closed kalilfagundes closed 2 years ago
Im sorry, I just realized I paid more because bsc was congestioned. The Wei was the same i was using (5).
Hello,
Usually the default network gas price is 5 gwei, and the script will add a certain amount to that for commands as follows:
The price per transaction is usually still very cheap compared to other blockchains so I thought these default values make sense.
Regarding your comment, if the transaction was using 5 gwei, it's unlikely that the price would be more expensive than normal, as the gas units are only defined by the kind of computations/storage events that the miners/validators need to perform. So the network being congested can ONLY affect how quickly your transaction is included, but not how much it will cost. If the transaction was more expensive, it is because the gas limit was high and the contract being called was doing a lot of computation/storage.
I see, I used the "sell all" command, thats why It was 25 Wei, makes perfect sense. Thank you for your clarification!
Hey man, First of all thanks for the great tool! I was wondering If there's a simple way to define gas price in wei, since its volatile, last trade I paid 3x the current "normal" price. Maybe for next Versions it could be choosen thought a variable in the config file.
Thanks again!! Everything working good.