Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoActiveNetworks = errors.New("no active networks available") ErrUnsupportedNetwork = errors.New("unsupported network") )
Functions ¶
func GetDefaultChainID ¶
func GetDefaultChainID(networkManager NetworkManagerInterface) (uint64, error)
func GetHexChainID ¶
func GetSupportedChainIDs ¶
func GetSupportedChainIDs(networkManager NetworkManagerInterface) ([]uint64, error)
GetSupportedChainIDs retrieves the chain IDs from the provided NetworkManager.
Types ¶
type NetworkManagerInterface ¶
Click to show internal directories.
Click to hide internal directories.