tracker

package
v0.0.0-...-6907ef8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

func RunServer

func RunServer()

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func InitClient

func InitClient() (*Client, error)

func (*Client) Close

func (client *Client) Close()

func (*Client) GetGas

func (client *Client) GetGas() (Gas, error)

type Gas

type Gas struct {
	PriceGwei           int64  `json:"gas_price_gwei"`
	PriceWei            int64  `json:"gas_price_wei"`
	BlockNumber         uint64 `json:"block_number"`
	PendingTransactions uint   `json:"pending_transactions"`
}

type Response

type Response struct {
	Node string `json:"node"`
	Gas  Gas    `json:"gas"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL