Versions in this module Expand all Collapse all v1 v1.13.2 Mar 3, 2021 v1.13.1 Nov 17, 2020 Changes in this version + type Config struct + Blocks int + Default *big.Int + Percentile int + type Oracle struct + func NewOracle(backend OracleBackend, params Config) *Oracle + func (gpo *Oracle) SuggestPrice(ctx context.Context) (*big.Int, error) + type OracleBackend interface + BlockByNumber func(ctx context.Context, number rpc.BlockNumber) (*types.Block, error) + ChainConfig func() *params.ChainConfig + HeaderByNumber func(ctx context.Context, number rpc.BlockNumber) (*types.Header, error)