AddressPrefix

public enum AddressPrefix : Equatable, Hashable

Chain address prefix.

  • STM, main network.

    Declaration

    Swift

    case mainNet
  • TST, test networks.

    Declaration

    Swift

    case testNet
  • Freeform address prefix, e.g. STX.

    Declaration

    Swift

    case custom(String)
  • Declaration

    Swift

    public typealias StringLiteralType = String
  • Create new addres prefix from string.

    Declaration

    Swift

    public init(_ value: String)
  • Declaration

    Swift

    public init(stringLiteral value: String)
  • String representation of address prefix, e.g. STM.

    Declaration

    Swift

    public var description: String { get }