Guest User

Untitled

a guest
Dec 12th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. Server server = new Server("https://horizon-testnet.stellar.org");
  2. final KeyPair account = KeyPair.fromAccountId("GC2BKLYOOYPDEFJKLKY6FNNRQMGFLVHJKQRGNSSRRGSMPGF32LHCQVGF");
  3.  
  4. PaymentsRequestBuilder paymentsRequest = server.payments().forAccount(account);
  5.  
  6. paymentsRequest.stream(new EventListener<OperationResponse>() {
  7. @Override
  8. public void onEvent(OperationResponse payment) {....
  9.  
  10. }
  11.  
  12. public void StellarTransactionListner(){
  13. ...
  14. }
Add Comment
Please, Sign In to add comment