# Custom transaction in TS SDK to interact with predicate

**URL:** <https://forum.fuel.network/t/custom-transaction-in-ts-sdk-to-interact-with-predicate/6350>\
**Category:** General\
**Created:** [July 25, 2024, 11:02am UTC](https://forum.fuel.network/t/custom-transaction-in-ts-sdk-to-interact-with-predicate/6350 "2024-07-25T11:02:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chappie1998](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/chappie1998/32/971_2.png) [@chappie1998](https://forum.fuel.network/u/chappie1998)\
**Post date:** [July 25, 2024, 11:02am UTC](https://forum.fuel.network/t/custom-transaction-in-ts-sdk-to-interact-with-predicate/6350/1 "2024-07-25T11:02:07Z")

</div>

create an example with coinInput, coinOutput to interact with predicate in TS SDK.

Rust Reference:- [sway-applications/OTC-swap-predicate/swap-predicate/tests/utils/mod.rs at master · FuelLabs/sway-applications · GitHub](https://github.com/FuelLabs/sway-applications/blob/master/OTC-swap-predicate/swap-predicate/tests/utils/mod.rs)

---

<div class="post-metadata">

**Author:** ![naz3eh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/naz3eh/32/2025_2.png) [@naz3eh](https://forum.fuel.network/u/naz3eh)\
**Post date:** [July 29, 2024, 6:40am UTC](https://forum.fuel.network/t/custom-transaction-in-ts-sdk-to-interact-with-predicate/6350/2 "2024-07-29T06:40:24Z")

</div>

Just want to put a note here for the ref, that we are connected and working on it on telegram
