# How do you use TxDecoder to extract tx info from serialized Tx msg in Block data?

**URL:** https://forum.cosmos.network/t/how-do-you-use-txdecoder-to-extract-tx-info-from-serialized-tx-msg-in-block-data/2218
**Category:** Cosmos-SDK
**Created:** [May 31, 2019, 2:25pm UTC](https://forum.cosmos.network/t/how-do-you-use-txdecoder-to-extract-tx-info-from-serialized-tx-msg-in-block-data/2218 "2019-05-31T14:25:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mac2](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@mac2](https://forum.cosmos.network/u/mac2)
#### Post date: [May 31, 2019, 2:25pm UTC](https://forum.cosmos.network/t/how-do-you-use-txdecoder-to-extract-tx-info-from-serialized-tx-msg-in-block-data/2218/1 "2019-05-31T14:25:40Z")

</div>

I want to be able to extract tags, tx type, sender address, etc from the encoded tx msgs contained in block data. Do I have to use TxDecoder or something of that nature? Would someone point me in the right direction?

---

<div class="post-metadata">

### Author: ![coolbobo](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@coolbobo](https://forum.cosmos.network/u/coolbobo)
#### Post date: [August 28, 2019, 9:37am UTC](https://forum.cosmos.network/t/how-do-you-use-txdecoder-to-extract-tx-info-from-serialized-tx-msg-in-block-data/2218/2 "2019-08-28T09:37:50Z")

</div>

me too  
i have similar issue
