Enum Class FeeDataType

java.lang.Object
java.lang.Enum<FeeDataType>
com.hedera.hashgraph.sdk.FeeDataType
All Implemented Interfaces:
Serializable, Comparable<FeeDataType>, Constable

public enum FeeDataType extends Enum<FeeDataType>
Enum for the fee data types.
  • Enum Constant Details

    • DEFAULT

      public static final FeeDataType DEFAULT
      The resource cost for the transaction type has no additional attributes
    • TOKEN_FUNGIBLE_COMMON

      public static final FeeDataType TOKEN_FUNGIBLE_COMMON
      The resource cost for the transaction type includes an operation on a fungible/common token
    • TOKEN_NON_FUNGIBLE_UNIQUE

      public static final FeeDataType TOKEN_NON_FUNGIBLE_UNIQUE
      The resource cost for the transaction type includes an operation on a non-fungible/unique token
    • TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES

      public static final FeeDataType TOKEN_FUNGIBLE_COMMON_WITH_CUSTOM_FEES
      The resource cost for the transaction type includes an operation on a fungible/common token with a custom fee schedule
    • TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES

      public static final FeeDataType TOKEN_NON_FUNGIBLE_UNIQUE_WITH_CUSTOM_FEES
      The resource cost for the transaction type includes an operation on a non-fungible/unique token with a custom fee schedule
    • SCHEDULE_CREATE_CONTRACT_CALL

      public static final FeeDataType SCHEDULE_CREATE_CONTRACT_CALL
      The resource cost for the transaction type includes a ScheduleCreate containing a ContractCall.
    • TOPIC_CREATE_WITH_CUSTOM_FEES

      public static final FeeDataType TOPIC_CREATE_WITH_CUSTOM_FEES
      The resource cost for the transaction type includes a TopicCreate with custom fees.
    • SUBMIT_MESSAGE_WITH_CUSTOM_FEES

      public static final FeeDataType SUBMIT_MESSAGE_WITH_CUSTOM_FEES
      The resource cost for the transaction type includes a ConsensusSubmitMessage for a topic with custom fees.
    • CRYPTO_TRANSFER_WITH_HOOKS

      public static final FeeDataType CRYPTO_TRANSFER_WITH_HOOKS
      The resource cost for the transaction type that includes a CryptoTransfer with hook invocations
  • Field Details

  • Method Details

    • values

      public static FeeDataType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FeeDataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      static FeeDataType valueOf(SubType code)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      code - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<FeeDataType>