APINode
public struct APINode
Represents a Lisk node with API enabled
-
Hostname or IP address of this node
Declaration
Swift
public let hostname: String -
Undocumented
Declaration
Swift
public init(hostname: String)
-
Mainnet nodes
Declaration
Swift
public static let mainnet: [APINode] = [ -
Testnet nodes
Declaration
Swift
public static let testnet: [APINode] = [
-
Selects a random node from a list of nodes
Declaration
Swift
public static func random(from nodes: [APINode] = APINode.mainnet) -> APINode
View on GitHub
APINode Structure Reference