Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Server server = new Server("https://horizon-testnet.stellar.org");
- final KeyPair account = KeyPair.fromAccountId("GC2BKLYOOYPDEFJKLKY6FNNRQMGFLVHJKQRGNSSRRGSMPGF32LHCQVGF");
- PaymentsRequestBuilder paymentsRequest = server.payments().forAccount(account);
- paymentsRequest.stream(new EventListener<OperationResponse>() {
- @Override
- public void onEvent(OperationResponse payment) {....
- }
- public void StellarTransactionListner(){
- ...
- }
Add Comment
Please, Sign In to add comment