Documentation ¶ Index ¶ Constants func New(ctx context.Context, logger log.Logger, client *ethclient.Client) (gas_price.GasPriceQuerier, error) type Client func (self *Client) Name() string func (self *Client) Query(ctx context.Context, confidence int) (baseFeeGwei, tipFeeGwei float64, err error) Constants ¶ View Source const ComponentName = "gasPriceClient" Variables ¶ This section is empty. Functions ¶ func New ¶ func New(ctx context.Context, logger log.Logger, client *ethclient.Client) (gas_price.GasPriceQuerier, error) Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func (*Client) Name ¶ func (self *Client) Name() string func (*Client) Query ¶ func (self *Client) Query(ctx context.Context, confidence int) (baseFeeGwei, tipFeeGwei float64, err error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.