Documentation
¶
Index ¶
Constants ¶
View Source
const HighestChain = Dev
Variables ¶
This section is empty.
Functions ¶
func ChainSupported ¶
ChainSupported returns whether the node can connect to the chain with the given ID
Types ¶
type SupportedChains ¶
type SupportedChains int
SupportedChains is an enum that indicates the chains supported by the node All chains represented by an enum value less than or equal than this value are supported All chains represented by an enum value greater than this value are not supported
const ( // Dev is a development chain Dev SupportedChains = iota // Rinkeby is the Ethereum Rinkeby test network chain Rinkeby // Mainnet is the Ethereum main network chain Mainnet )
Click to show internal directories.
Click to hide internal directories.