Helius
2021-01-28 9c9c8f1e9b4658f65997c66769507c6ea6476a7f
src/main/java/com/xcong/excoin/modules/blackchain/service/XrpService.java
@@ -65,7 +65,7 @@
   public static XrpTransResult getTransactions(Date start) {
      SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
      String startTime = dateFormat.format(start);
      String url ="https://data.ripple.com/v2/accounts/"+ACCOUNT+"/transactions?type=Payment&result=tesSUCCESS&limit=20&start="+startTime;
      String url ="https://data.ripple.com/v2/accounts/"+ACCOUNT+"/transactions?type=Payment&result=tesSUCCESS&limit=100&start="+startTime;
      // 十分钟查一次 每次100条
      String result =  HttpUtil.get(url);
      try {