I have C# source code like this:

 Server server = new Server("https://horizon-testnet.stellar.org");
 var GetTranHistory = server.Operations.ForAccount("GDLRM2QFV7GOOAZDELHFCC5RBRMX4NAZNBSTAKG6NGO4CFODY5PSCYWT").Stream(EventHandler<OperationResponse> Listener);

Question: How to build the Listener function to fetch all transaction payments returned from the Stellar API, so I can get the transaction history amount for each?

This page does not show an example how to build it. The C# SDK has less support.

enter image description here

2 Answers 2


I'm not familiar with C#, but I think you should get this value from the response, hope this helps.


I found ald. Should call stream listener func to get data result from list of operation then find it via your wish accountID enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.