<p>Bitcore makes it very easy to do this. Just use the Transaction constructor.</p>

<pre><code>var bitcore = require('bitcore')

var txHexSerialized = "010000000...00000000";
var txDecoded = new bitcore.Transaction(txHexSerialized);
</code></pre>

CC BY-SA 3.0
2015-12-15T15:17:06.110Z
2015-12-15T15:17:06.110Z
morsecoder
<p>I have a serialised transaction in raw hex format that I want decoded in JavaScript. Can Bitcore do that for me?</p>

<transactions><raw-transaction><raw-data><bitcore>
Can Bitcore decode a raw tx?
Randomblue
# Can Bitcore decode a raw tx?

(Asked by: username_0 on 2015-12-15)

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

**Tags:** transactions, raw-transaction, raw-data, bitcore


---

## 1 answers

### Answer by username_1 on 2015-12-15. Score: 3 | Accepted answer

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);


---

