Translations: Sample Java Programs/34/en

From ArdorDocs
Jump to: navigation, search

private void broadcast(URL remoteUrl, JO signTransactionResponse) {

       JO signedTransactionJSON = signTransactionResponse.getJo("transactionJSON");
       JO broadcastResponse = BroadcastTransactionCall.create().
               transactionJSON(signedTransactionJSON.toJSONString()).
               remote(remoteUrl).
               call();
       System.out.printf("broadcastResponse: %s\n", broadcastResponse.toJSONString());
   }