I have a serialised transaction in raw hex format that I want decoded in JavaScript. Can Bitcore do that for me?

1 Answer 1


Bitcore makes it very easy to do this. Just use the Transaction constructor.

var bitcore = require('bitcore')

var txHexSerialized = "010000000...00000000";
var txDecoded = new bitcore.Transaction(txHexSerialized);

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.