Enumerations

The following enumerations are available globally.

  • Type of a Nimiq account.

    See more

    Declaration

    Swift

    public enum AccountType : Int, Decodable
  • Pool connection state information returned by the server.

    See more

    Declaration

    Swift

    public enum PoolConnectionState : Int, Decodable
  • Consensus state returned by the server.

    See more

    Declaration

    Swift

    public enum ConsensusState : String, Decodable
  • Used to set the log level in the JSONRPC server.

    See more

    Declaration

    Swift

    public enum LogLevel : String
  • Peer address state returned by the server.

    See more

    Declaration

    Swift

    public enum PeerAddressState : Int, Decodable
  • Peer connection state returned by the server.

    See more

    Declaration

    Swift

    public enum PeerConnectionState : Int, Decodable
  • Commands to change the state of a peer.

    See more

    Declaration

    Swift

    public enum PeerStateCommand : String
  • Thrown when something when wrong with the JSONRPC request.

    See more

    Declaration

    Swift

    public enum Error : Swift.Error, Equatable