| | |
| | | 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 {
|