ethereum

package
v0.0.0-...-1567bb8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkEthereum = "ethereum"
	NetworkPolygon  = "polygon"
	NetworkOptimism = "optimism"
	NetworkArbitrum = "arbitrum"
)

Variables

View Source
var ErrorUnsupportedNetwork = errors.New("unsupported network")

Functions

This section is empty.

Types

type Config

type Config struct {
	Network *Network `json:"network"`
}

type Endpoint

type Endpoint struct {
	HTTP      string `json:"http"`
	WebSocket string `json:"websocket"`
}

type Network

type Network struct {
	Ethereum *Endpoint `json:"ethereum"`
	Polygon  *Endpoint `json:"polygon"`
	Optimism *Endpoint `json:"optimism"`
	Arbitrum *Endpoint `json:"arbitrum"`
}

Jump to

Keyboard shortcuts

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