Record Class Tvm.TransactionFees

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Tvm.TransactionFees
Record Components:
inMsgFwdFee - Contains the same data as ext_in_msg_fee field Deprecated.
storageFee - Fee for account storage
gasFee - Fee for processing
outMsgsFwdFee - Contains the same data as total_fwd_fees field. Deprecated because of its confusing name, that is not the same with GraphQL API Transaction type's field. Deprecated.
totalAccountFees - Contains the same data as account_fees field Deprecated.
totalOutput - Deprecated because it means total value sent in the transaction, which does not relate to any fees.
extInMsgFee - Fee for inbound external message import.
totalFwdFees - Total fees the account pays for message forwarding
accountFees - Total account fees for the transaction execution. Compounds of storage_fee + gas_fee + ext_in_msg_fee + total_fwd_fees
Enclosing class:
Tvm

public static record Tvm.TransactionFees(BigInteger inMsgFwdFee, BigInteger storageFee, BigInteger gasFee, BigInteger outMsgsFwdFee, BigInteger totalAccountFees, BigInteger totalOutput, BigInteger extInMsgFee, BigInteger totalFwdFees, BigInteger accountFees) extends Record
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • inMsgFwdFee

      public BigInteger inMsgFwdFee()
      Returns the value of the inMsgFwdFee record component.
      Returns:
      the value of the inMsgFwdFee record component
    • storageFee

      public BigInteger storageFee()
      Returns the value of the storageFee record component.
      Returns:
      the value of the storageFee record component
    • gasFee

      public BigInteger gasFee()
      Returns the value of the gasFee record component.
      Returns:
      the value of the gasFee record component
    • outMsgsFwdFee

      public BigInteger outMsgsFwdFee()
      Returns the value of the outMsgsFwdFee record component.
      Returns:
      the value of the outMsgsFwdFee record component
    • totalAccountFees

      public BigInteger totalAccountFees()
      Returns the value of the totalAccountFees record component.
      Returns:
      the value of the totalAccountFees record component
    • totalOutput

      public BigInteger totalOutput()
      Returns the value of the totalOutput record component.
      Returns:
      the value of the totalOutput record component
    • extInMsgFee

      public BigInteger extInMsgFee()
      Returns the value of the extInMsgFee record component.
      Returns:
      the value of the extInMsgFee record component
    • totalFwdFees

      public BigInteger totalFwdFees()
      Returns the value of the totalFwdFees record component.
      Returns:
      the value of the totalFwdFees record component
    • accountFees

      public BigInteger accountFees()
      Returns the value of the accountFees record component.
      Returns:
      the value of the accountFees record component