ChainID
public enum ChainID : CaseIterable, Hashable
Identification the enviroment of flow
-
Unknow enviroment as a fallback cause
Declaration
Swift
case unknown
-
Mainnet enviroment Default node is
access.mainnet.nodes.onflow.org:9000
Declaration
Swift
case mainnet
-
Testnet enviroment Default node is
access.devnet.nodes.onflow.org:9000
Declaration
Swift
case testnet
-
Canarynet enviroment Default node is
access.canary.nodes.onflow.org:9000
Declaration
Swift
case canarynet
-
Emulator enviroment Default node is
127.0.0.1:9000
Declaration
Swift
case emulator
-
List of other type chain id exclude custom type
Declaration
Swift
public static var allCases: [Flow.ChainID]
-
Name of the chain id
Declaration
Swift
public var name: String { get }
-
Undocumented
Declaration
Swift
public init(name: String)
-
Endpoint information for gRPC node
See moreDeclaration
Swift
public struct Endpoint : Hashable, Equatable
-
Default node for
.mainnet, .testnet, .canarynet, .emulator
Declaration
Swift
public var defaultNode: Endpoint { get }
-