APIOptions
public struct APIOptions
Options for creating an API client
-
Connect to Testnet
Declaration
Swift
public let testnet: Bool -
Use https:
Declaration
Swift
public let ssl: Bool -
Selects a random node
Declaration
Swift
public let randomNode: Bool -
Force node selection
Declaration
Swift
public let node: APINode? -
Port to connect to
Declaration
Swift
public let port: String? -
Optional nethash
Declaration
Swift
public let nethash: String? -
Set of banned nodes, unused for now
Declaration
Swift
public let bannedNodes: [APINode]?
View on GitHub
APIOptions Structure Reference