I'm trying to build an XDR utilizing txnbuild, a Stellar SDK in Go. I've tried some examples given way back in 2018 but most of the methods are deprecated. For example : What is the correct way to unmarshal an encoded transaction for signing How to use the current methods and build an XDR with no sign and then later unmarshall the XDR and add a sign?

Note : This could be easily done on Stellar laboratory, so I assume there should be way on code level too

1 Answer 1


I found an answer using the txnbuild and xdr SDKs for Go. https://medium.com/@keleighberenger/signing-pre-built-xdrs-using-the-stellar-sdks-for-golang-9b7ec6065ff7

  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Jul 22, 2023 at 21:18

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.