# How to parse the "blob" content returned from archive node?

**URL:** <https://radixtalk.com/t/how-to-parse-the-blob-content-returned-from-archive-node/269>\
**Category:** Developers\
**Created:** [21 January 2022 01:54 UTC](https://radixtalk.com/t/how-to-parse-the-blob-content-returned-from-archive-node/269 "2022-01-21T01:54:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![minhnn](https://radixtalk.com/user_avatar/radixtalk.com/minhnn/32/857_2.png) [@minhnn](https://radixtalk.com/u/minhnn)\
**Post date:** [21 January 2022 01:54 UTC](https://radixtalk.com/t/how-to-parse-the-blob-content-returned-from-archive-node/269/1 "2022-01-21T01:54:44Z")

</div>

Below is the answer by Stuart in discord:

The specs for parsing transactions are here:

[https://github.com/radixdlt/radixdlt/blob/develop/docs/transaction-specs/specs/parsing.md](https://github.com/radixdlt/radixdlt/blob/develop/docs/transaction-specs/specs/parsing.md).

I implemented the spec to create my own parser but there is a Rust example here:  
[https://github.com/radixdlt/radixdlt/tree/develop/docs/transaction-specs/test/parser](https://github.com/radixdlt/radixdlt/tree/develop/docs/transaction-specs/test/parser)

---

<div class="post-metadata">

**Author:** ![Stuart](https://radixtalk.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@Stuart](https://radixtalk.com/u/Stuart)\
**Post date:** [21 January 2022 11:58 UTC](https://radixtalk.com/t/how-to-parse-the-blob-content-returned-from-archive-node/269/2 "2022-01-21T11:58:04Z")

</div>

The new core-api has a parse function that will take an unsigned or signed transaction blob and return the component parts.

Ref:

> **[Redoc Interactive Demo](https://redocly.github.io/redoc/?url=https:%2F%2Fraw.githubusercontent.com%2Fradixdlt%2Fradixdlt%2Frelease%2F1.1.0%2Fradixdlt-core%2Fradixdlt%2Fsrc%2Fmain%2Fjava%2Fcom%2Fradixdlt%2Fapi%2Fcore%2Fapi.yaml#tag/construction/paths/~1construction~1parse/post)**
>
> Redoc Interactive Demo. OpenAPI-generated API Reference Documentation

---

<div class="post-metadata">

**Author:** ![minhnn](https://radixtalk.com/user_avatar/radixtalk.com/minhnn/32/857_2.png) [@minhnn](https://radixtalk.com/u/minhnn)\
**Post date:** [21 January 2022 13:22 UTC](https://radixtalk.com/t/how-to-parse-the-blob-content-returned-from-archive-node/269/3 "2022-01-21T13:22:50Z")

</div>

Thank, if the transaction is not existed yet (just in prepare step and not in the finalize step yet), can we do the parse with new core-api?

---

<div class="post-metadata">

**Author:** ![Stuart](https://radixtalk.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@Stuart](https://radixtalk.com/u/Stuart)\
**Post date:** [21 January 2022 13:24 UTC](https://radixtalk.com/t/how-to-parse-the-blob-content-returned-from-archive-node/269/4 "2022-01-21T13:24:04Z")

</div>

Yes, there is an “signed” option in the api call which you can just set to false and it will parse the unsigned transaction hex blob.

---

<div class="post-metadata">

**Author:** ![minhnn](https://radixtalk.com/user_avatar/radixtalk.com/minhnn/32/857_2.png) [@minhnn](https://radixtalk.com/u/minhnn)\
**Post date:** [21 January 2022 13:25 UTC](https://radixtalk.com/t/how-to-parse-the-blob-content-returned-from-archive-node/269/5 "2022-01-21T13:25:44Z")

</div>

Thanks, I will try this soon.
