Encoding Transaction in Python and Decoding in JS

As the title suggests is this possible? If so how?

I already tried using msgpack_encode and decodeObj, but it gives me RangeError.

Thanks.

Welcome to Algorand!

Have you tried Encoding and Decoding - Algorand Developer Portal ?

1 Like

Thanks!

I’ve tried those examples before, but it didn’t seem to work.
Turns out I was missing Buffer.from(encoded, "base64") in the algosdk.decodeUnsignedTransaction() function!