Class BitcoinAddress

java.lang.Object
org.knowm.xchange.blockchain.dto.BitcoinAddress

public final class BitcoinAddress
extends Object
NOTE: Divide by 10^8 to get the decimal value of BTC amounts
Author:
timmolter
  • Constructor Details

    • BitcoinAddress

      public BitcoinAddress​(String address, long final_balance, String hash160, int n_tx, long total_received, long total_sent, List<Txs> txs)
      Constructor
      Parameters:
      address -
      final_balance -
      hash160 -
      n_tx -
      total_received -
      total_sent -
      txs -
  • Method Details

    • getAddress

      public String getAddress()
    • getFinalBalance

      public long getFinalBalance()
    • getFinalBalanceDecimal

      public BigDecimal getFinalBalanceDecimal()
    • getHash160

      public String getHash160()
    • getNumTransactions

      public int getNumTransactions()
    • getTotalReceived

      public long getTotalReceived()
    • getTotalReceivedDecimal

      public BigDecimal getTotalReceivedDecimal()
    • getTotalSent

      public long getTotalSent()
    • getTotalSentDecimal

      public BigDecimal getTotalSentDecimal()
    • getTxs

      public List<Txs> getTxs()
    • toString

      public String toString()
      Overrides:
      toString in class Object