Class BitcoinAddress


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

      • 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 Detail

      • 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()