According to https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gasprice rpc-json method eth_gasPrice
returns the current price per gas in wei. But I have several questions:
What does exactly mean "current price per gas"?
What does define the price per gas?
Shouldn't gas price always be 20,000 Babbages for coin transfer transactions?
Why most of the times when calling
eth_gasPrice
method it returns 20,000 Babbages, but from time to time it returns 21,912 Babbages or 21,905 Babbages, just a few seconds later?Why effective gas price on completed transactions is always 20,000 Babbages, but never those funny and sporadic values (21,912 Babbages or 21,905 Babbages).
So gas price on transactions seems to be constant and a round number, while gas price when querying
eth_gasPrice()
is very volatile. Iseth_gasPrice()
a reliable function? Should I trust it?