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

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?