| | |
| | | public final static String POOL_ADDRESS = "TZ4LNanau13XFDZGiXiVmamTKn6q8jawiB"; |
| | | |
| | | // 波场限制最高请求数量10万,使用两个api_key 分担请求流量 |
| | | public final static String API_KEY="9d461be6-9796-47b9-85d8-b150cbabbb54"; |
| | | public final static String API_KEY_BLOCK="0492c860-cc93-4a69-a3ff-dcf607b80522"; |
| | | public final static String API_KEY="0492c860-cc93-4a69-a3ff-dcf607b80522"; |
| | | public final static String API_KEY_BLOCK="a7b0c96a-cfcd-474d-88c5-75c6277fedbf"; |
| | | |
| | | |
| | | /** |
| | |
| | | public static void sendTrc20(String sendPrivateKey,String receiveAddress,BigDecimal amount){ |
| | | TrxService service = new TrxService(); |
| | | try { |
| | | TransactionResult transactionResult = service.sendTrc20TransactionTest(sendPrivateKey, receiveAddress, amount,API_KEY); |
| | | // TransactionResult transactionResult = service.sendTrc20TransactionTest( |
| | | // sendPrivateKey, receiveAddress, amount,API_KEY); |
| | | TransactionResult transactionResult = service.sendTrc20Transaction( |
| | | sendPrivateKey, receiveAddress, amount,15000000L,API_KEY); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |