Package nxt

Class Exchange


  • public final class Exchange
    extends java.lang.Object
    • Method Detail

      • getAllExchanges

        public static DbIterator<Exchange> getAllExchanges​(int from,
                                                           int to)
      • getCount

        public static int getCount()
      • getCurrencyExchanges

        public static DbIterator<Exchange> getCurrencyExchanges​(long currencyId,
                                                                int from,
                                                                int to)
      • getLastExchanges

        public static java.util.List<Exchange> getLastExchanges​(long[] currencyIds)
      • getAccountExchanges

        public static DbIterator<Exchange> getAccountExchanges​(long accountId,
                                                               int from,
                                                               int to)
      • getAccountCurrencyExchanges

        public static DbIterator<Exchange> getAccountCurrencyExchanges​(long accountId,
                                                                       long currencyId,
                                                                       int from,
                                                                       int to)
      • getOfferExchanges

        public static DbIterator<Exchange> getOfferExchanges​(long offerId,
                                                             int from,
                                                             int to)
      • getExchangeCount

        public static int getExchangeCount​(long currencyId)
      • getTransactionId

        public long getTransactionId()
      • getBlockId

        public long getBlockId()
      • getOfferId

        public long getOfferId()
      • getSellerId

        public long getSellerId()
      • getBuyerId

        public long getBuyerId()
      • getUnits

        public long getUnits()
      • getRate

        public long getRate()
      • getCurrencyId

        public long getCurrencyId()
      • getTimestamp

        public int getTimestamp()
      • getHeight

        public int getHeight()
      • toString

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