Documentation
¶
Overview ¶
package chains tracks the EVM chains that are supported by the node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainInfo ¶
type ChainInfo struct { // Name is the name of the chain. // It is case-insensitive and unique. Name Chain // ID is the unique identifier of the chain. // e.g. Ethereum mainnet is 1. ID string // RequiredConfirmations is the number of confirmations required before an event is considered final. // For example, Ethereum mainnet requires 12 confirmations. RequiredConfirmations int64 }
ChainInfo is the information about a chain.
func GetChainInfo ¶
GetChainInfo returns the chain information for the given chain.
func GetChainInfoByID ¶
GetChainInfoByID returns the chain information for the given chain ID.
Click to show internal directories.
Click to hide internal directories.