Documentation
¶
Index ¶
Constants ¶
View Source
const ( TestnetAPIEndpoint = "https://api.lux-test.network" MainnetAPIEndpoint = "https://api.lux.network" )
Variables ¶
View Source
var UndefinedNetwork = Network{}
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct {
Kind NetworkKind
ID uint32
Endpoint string
}
func MainnetNetwork ¶
func MainnetNetwork() Network
func NetworkFromNetworkID ¶
func NewNetwork ¶
func NewNetwork(kind NetworkKind, id uint32, endpoint string) Network
func TestnetNetwork ¶
func TestnetNetwork() Network
type NetworkKind ¶
type NetworkKind int64
const ( Undefined NetworkKind = iota Mainnet Testnet Devnet )
Click to show internal directories.
Click to hide internal directories.