Kwelstr has joined #stellar-dev
de_henne_ has joined #stellar-dev
de_henne has quit [Ping timeout: 244 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #stellar-dev
<stellar-slack1> <jimw> Hi newbie question on parsing XDR transaction results in Java. I can get a string XDR blob using the SubmitTransactionResponse.Extras getEnvelopXdr. I'm assuming it's decoded with the TransactionResult.decode(xdrStream). Does anyone have a working example to share? Cheers Jim
<stellar-slack1> <jed> hmm seems like it should be in the SubmitTransactionResponse rather than making you jump through hoops
<stellar-slack1> <jed> the people that know for sure are in europe so might be a few hours before they are up
<stellar-slack1> <jimw> Thanks Jed
<stellar-slack1> <sacarlson> jimw: Are you looking for something like this? https://github.com/sacarlson/sacarlson.github.io/blob/master/my_wallet/js/transaction_toolsv0.4.0.js#L711-L751
<stellar-slack1> <sacarlson> there might be a better examples from a better programer than me in Centaurus code
<stellar-slack1> <sacarlson> I also have example in the code that I decode xdr but later found it's not always needed
Kwelstr has quit [Ping timeout: 250 seconds]
Kwelstr has joined #stellar-dev
<stellar-slack1> <jimw> sacarlson: Yes, thanks. However it's the java equivalent of your js code.
<stellar-slack1> <sacarlson> oh ok, I don't recall seeing java code examples but probly I just wasn't looking for them
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
<stellar-slack1> <bartek> @jimw: unfortunatelly, right now you have to do it manually using classes in `xdr` package. but I will add more info about errors to `SubmitTransactionResponse` today.
acetakwas has quit [Ping timeout: 244 seconds]
acetakwas has joined #stellar-dev
acetakwas has quit [Ping timeout: 240 seconds]
acetakwas has joined #stellar-dev
acetakwas has quit [Ping timeout: 240 seconds]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
acetakwas has joined #stellar-dev
acetakwas has quit [Max SendQ exceeded]
Kwelstr has quit [Quit: Leaving]
<stellar-slack1> <irisli> I'm curious if Horizon will have a feature to get the count of transactions. For example, getting the number of transactions/ops/payments for a specific account year-to-date
<stellar-slack1> <irisli> seems not super useful, but could be used in some use cases. But I guess it's specific enough that someone may want to run their own horizon
<stellar-slack1> <scott> It’s a possibility, for sure. The horizon db is setup to make that aggregation feasible.
<stellar-slack1> <scott> I’d need to think about how we would do this when horizon is expiring old data, but it’s something to consider