Class TransactionFeeRate


  • public final class TransactionFeeRate
    extends java.lang.Object
    Record containing crypto transaction fee rate
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionFeeRate​(java.math.BigDecimal slow, java.math.BigDecimal average, java.math.BigDecimal fast, float slowTime, float averageTime, float fastTime, java.lang.String source)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.math.BigDecimal getAverage()
      Fee rate resulting in average confirmation time.
      float getAverageTime()
      Average confirmation time in hours.
      java.math.BigDecimal getFast()
      Fee rate resulting in fast confirmation time.
      float getFastTime()
      Fast confirmation time in hours.
      java.math.BigDecimal getSlow()
      Fee rate resulting in slow confirmation time.
      float getSlowTime()
      Slow confirmation time in hours.
      java.lang.String getSource()
      Fee rate information provider.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TransactionFeeRate

        public TransactionFeeRate​(java.math.BigDecimal slow,
                                  java.math.BigDecimal average,
                                  java.math.BigDecimal fast,
                                  float slowTime,
                                  float averageTime,
                                  float fastTime,
                                  java.lang.String source)
    • Method Detail

      • getSlow

        public java.math.BigDecimal getSlow()
        Fee rate resulting in slow confirmation time.
      • getAverage

        public java.math.BigDecimal getAverage()
        Fee rate resulting in average confirmation time.
      • getFast

        public java.math.BigDecimal getFast()
        Fee rate resulting in fast confirmation time.
      • getSlowTime

        public float getSlowTime()
        Slow confirmation time in hours.
      • getAverageTime

        public float getAverageTime()
        Average confirmation time in hours.
      • getFastTime

        public float getFastTime()
        Fast confirmation time in hours.
      • getSource

        public java.lang.String getSource()
        Fee rate information provider.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object