Class TransactionCryptoProperties


  • public final class TransactionCryptoProperties
    extends java.lang.Object
    Record containing transaction's crypto properties.
    See Also:
    Transaction
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionCryptoProperties​(java.lang.String txHash, java.lang.Integer nonce, java.lang.String fromAddress, java.lang.String toAddress, java.lang.String data, java.math.BigDecimal gasPrice, java.lang.Integer gasLimit, java.util.HashMap<java.lang.String,​java.lang.Double> fiatAmount, java.util.HashMap<java.lang.String,​java.lang.Double> fiatFee)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getData()
      Transaction data or null.
      java.util.HashMap<java.lang.String,​java.lang.Double> getFiatAmount()
      Value in fiat currencies at the time of the transaction submission.
      java.util.HashMap<java.lang.String,​java.lang.Double> getFiatFee()
      Fee in fiat currencies at the time of the transaction submission.
      java.lang.String getFromAddress()
      Ethereum wallet address of sender.
      java.lang.Integer getGasLimit()
      Ethereum gas limit if it is Ethereum transaction, otherwise null.
      java.math.BigDecimal getGasPrice()
      Ethereum gas price if it is Ethereum transaction, otherwise null.
      java.lang.Integer getNonce()
      Ethereum transaction nonce if greater than 0 and it is Ethereum transaction, otherwise returns null.
      java.lang.String getToAddress()
      Ethereum wallet address of recipient or null, if it is Ethereum contract deploy.
      java.lang.String getTxHash()
      Transaction hash or null.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • TransactionCryptoProperties

        public TransactionCryptoProperties​(java.lang.String txHash,
                                           java.lang.Integer nonce,
                                           java.lang.String fromAddress,
                                           java.lang.String toAddress,
                                           java.lang.String data,
                                           java.math.BigDecimal gasPrice,
                                           java.lang.Integer gasLimit,
                                           java.util.HashMap<java.lang.String,​java.lang.Double> fiatAmount,
                                           java.util.HashMap<java.lang.String,​java.lang.Double> fiatFee)
    • Method Detail

      • getTxHash

        public java.lang.String getTxHash()
        Transaction hash or null.
      • getNonce

        public java.lang.Integer getNonce()
        Ethereum transaction nonce if greater than 0 and it is Ethereum transaction, otherwise returns null.
      • getFromAddress

        public java.lang.String getFromAddress()
        Ethereum wallet address of sender.
      • getToAddress

        public java.lang.String getToAddress()
        Ethereum wallet address of recipient or null, if it is Ethereum contract deploy.
      • getData

        public java.lang.String getData()
        Transaction data or null.
      • getGasPrice

        public java.math.BigDecimal getGasPrice()
        Ethereum gas price if it is Ethereum transaction, otherwise null.
      • getGasLimit

        public java.lang.Integer getGasLimit()
        Ethereum gas limit if it is Ethereum transaction, otherwise null.
      • getFiatAmount

        public java.util.HashMap<java.lang.String,​java.lang.Double> getFiatAmount()
        Value in fiat currencies at the time of the transaction submission.
        See Also:
        CurrencyCode
      • getFiatFee

        public java.util.HashMap<java.lang.String,​java.lang.Double> getFiatFee()
        Fee in fiat currencies at the time of the transaction submission.
        See Also:
        CurrencyCode
      • 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