When I launch an Ethereum transaction, I have to choose how much WEI I am able to pay for one GAS.
This is a "bid" concept: If my transaction is very important and if I want to run it quickly, I have to set a big value in order to be first, before other users.
Let's suppose I put a very, very big value of WEI. For example 1 Ether. And someone else sets 0.5 Ether. I know this is crazy but it is an example. (All other users sets a few WEI per GAS).
My transaction will be executed first. But will I pay 1 Ether per GAS or is there something automatic saying I will only pay only 0.51 for example?