Package nxt

Class Trade


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

      • getAllTrades

        public static DbIterator<Trade> getAllTrades​(int from,
                                                     int to)
      • getCount

        public static int getCount()
      • getTrade

        public static Trade getTrade​(long askOrderId,
                                     long bidOrderId)
      • getAssetTrades

        public static DbIterator<Trade> getAssetTrades​(long assetId,
                                                       int from,
                                                       int to)
      • getLastTrades

        public static java.util.List<Trade> getLastTrades​(long[] assetIds)
      • getAccountTrades

        public static DbIterator<Trade> getAccountTrades​(long accountId,
                                                         int from,
                                                         int to)
      • getAccountAssetTrades

        public static DbIterator<Trade> getAccountAssetTrades​(long accountId,
                                                              long assetId,
                                                              int from,
                                                              int to)
      • getAskOrderTrades

        public static DbIterator<Trade> getAskOrderTrades​(long askOrderId,
                                                          int from,
                                                          int to)
      • getBidOrderTrades

        public static DbIterator<Trade> getBidOrderTrades​(long bidOrderId,
                                                          int from,
                                                          int to)
      • getTradeCount

        public static int getTradeCount​(long assetId)
      • getBlockId

        public long getBlockId()
      • getAskOrderId

        public long getAskOrderId()
      • getBidOrderId

        public long getBidOrderId()
      • getAskOrderHeight

        public int getAskOrderHeight()
      • getBidOrderHeight

        public int getBidOrderHeight()
      • getSellerId

        public long getSellerId()
      • getBuyerId

        public long getBuyerId()
      • getQuantityQNT

        public long getQuantityQNT()
      • getPriceNQT

        public long getPriceNQT()
      • getAssetId

        public long getAssetId()
      • getTimestamp

        public int getTimestamp()
      • getHeight

        public int getHeight()
      • isBuy

        public boolean isBuy()
      • toString

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