OperationKind

public enum OperationKind : String, Codable

Enum representing the various kinds of supported Operation‘s

  • Declaration

    Swift

    case transaction
  • Declaration

    Swift

    case reveal
  • Declaration

    Swift

    case delegation
  • Declaration

    Swift

    case origination
  • Declaration

    Swift

    case activate_account
  • Declaration

    Swift

    case endorsement
  • Declaration

    Swift

    case seed_nonce_revelation
  • Declaration

    Swift

    case double_endorsement_evidence
  • Declaration

    Swift

    case double_baking_evidence
  • Declaration

    Swift

    case proposals
  • Declaration

    Swift

    case ballot
  • Declaration

    Swift

    case unknown
  • Create a base operation.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    from

    A decoder used to convert a data fromat (such as JSON) into the model object.

  • Convert the object into a data format, such as JSON.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    to

    An encoder that will allow conversions to multipel data formats.