1 2 3 4 5 6
new TransactionQueryBuilder() .withHeightMoreThan(Constants.AEBLOCK) .withHeightLessThan(SecureAeNxtFunctions.getLastBlockHeight+1) .withType(2, 0) .withPlainMessage() .query()