# Decode logs from existing transaction

**URL:** https://forum.fuel.network/t/decode-logs-from-existing-transaction/6471
**Category:** TypeScript SDK
**Created:** [August 14, 2024, 10:55pm UTC](https://forum.fuel.network/t/decode-logs-from-existing-transaction/6471 "2024-08-14T22:55:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![danielbate](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/danielbate/32/1617_2.png) [@danielbate](https://forum.fuel.network/u/danielbate)
#### Post date: [August 15, 2024, 10:23am UTC](https://forum.fuel.network/t/decode-logs-from-existing-transaction/6471/2 "2024-08-15T10:23:39Z")

</div>

Check out the [encode and decode](https://docs.fuel.network/docs/fuels-ts/encoding/encode-and-decode/) documentation. This [forum post](https://forum.fuel.network/t/hashing-complex-structs-off-chain/5658) is related also.

You need the ABI and then you can decode the bytes based on the logged type.

---

_[View the full topic](https://forum.fuel.network/t/decode-logs-from-existing-transaction/6471)._
