DomainTag

public enum DomainTag : String

The prefix when encoding transaction and user with RLP

  • The tag for transaction

    Declaration

    Swift

    case transaction = "FLOW-V0.0-transaction"
  • The tag for user

    Declaration

    Swift

    case user = "FLOW-V0.0-user"
  • Convert tag string into data with .uft8 format And padding zero to right until 32 bytes long.

    Declaration

    Swift

    public var normalize: Data { get }