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


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, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.