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