Module reth_rpc_server_types::constants::gas_oracle
source · Expand description
GPO specific constants
Constants§
- Gas required at the beginning of a call.
- Number of recent blocks to check for gas price
- The percentile of gas prices to use for the estimate
- The default minimum gas price, under which the sample will be ignored
- Maximum transaction priority fee (or gas price before London Fork) to be recommended by the gas price oracle
- Allowed error ratio for gas estimation Taken from Geth’s implementation in order to pass the hive tests https://github.com/ethereum/go-ethereum/blob/a5a4fa7032bb248f5a7c40f4e8df2b131c4186a4/internal/ethapi/api.go#L56
- The default maximum number of blocks to use for the gas price oracle.
- Gas per transaction not creating a contract.
- The default gas limit for
eth_call
and adjacent calls. - The number of transactions sampled in a block