# How to interact with the contract?

**URL:** <https://forum.fuel.network/t/how-to-interact-with-the-contract/5256>\
**Category:** General\
**Created:** [May 8, 2024, 1:21pm UTC](https://forum.fuel.network/t/how-to-interact-with-the-contract/5256 "2024-05-08T13:21:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivamlync](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/shivamlync/32/2807_2.png) [@shivamlync](https://forum.fuel.network/u/shivamlync)\
**Post date:** [May 8, 2024, 1:21pm UTC](https://forum.fuel.network/t/how-to-interact-with-the-contract/5256/1 "2024-05-08T13:21:52Z")

</div>

For a contract, how can I interact with it using the explorer.

---

<div class="post-metadata">

**Author:** ![calldelegation](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/calldelegation/32/1484_2.png) [@calldelegation](https://forum.fuel.network/u/calldelegation)\
**Post date:** [May 8, 2024, 3:20pm UTC](https://forum.fuel.network/t/how-to-interact-with-the-contract/5256/2 "2024-05-08T15:20:32Z")

</div>

Hey @shivamlync I’m assuming you are referring to a feature akin to Etherscan’s “contract” tab i.e. [$2,997.91 | Wrapped Ether (WETH) Token Tracker | Etherscan](https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2#writeContract)

Unfortunately there is no feature like that on the Fuel block explorer right now. You will need to leverage the the said contract ABI, contract address and either the typescript SDK or rust SDK to interact with it.

---

<div class="post-metadata">

**Author:** ![crypt0mate](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/crypt0mate/32/2445_2.png) [@crypt0mate](https://forum.fuel.network/u/crypt0mate)\
**Post date:** [May 8, 2024, 7:09pm UTC](https://forum.fuel.network/t/how-to-interact-with-the-contract/5256/3 "2024-05-08T19:09:01Z")

</div>

Hi @shivamlync , If I want to try out some code samples I sometimes deploy on [https://www.sway-playground.org/](https://www.sway-playground.org/) and use the contract interface section to interact with my contract.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/e/eb41251bb14262dffbccc8cb0ef075f5aa4feffd.png)

---

<div class="post-metadata">

**Author:** ![calldelegation](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/calldelegation/32/1484_2.png) [@calldelegation](https://forum.fuel.network/u/calldelegation)\
**Post date:** [May 8, 2024, 10:20pm UTC](https://forum.fuel.network/t/how-to-interact-with-the-contract/5256/4 "2024-05-08T22:20:51Z")

</div>

Yes how could I forget such a great tool! 🙂

---

<div class="post-metadata">

**Author:** ![shivamlync](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/shivamlync/32/2807_2.png) [@shivamlync](https://forum.fuel.network/u/shivamlync)\
**Post date:** [May 9, 2024, 8:02am UTC](https://forum.fuel.network/t/how-to-interact-with-the-contract/5256/5 "2024-05-09T08:02:01Z")

</div>

Yeah that’s true, but what If I deploy it using cli, and then I want to interact with the contract.

---

<div class="post-metadata">

**Author:** ![calldelegation](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/calldelegation/32/1484_2.png) [@calldelegation](https://forum.fuel.network/u/calldelegation)\
**Post date:** [May 9, 2024, 9:39pm UTC](https://forum.fuel.network/t/how-to-interact-with-the-contract/5256/6 "2024-05-09T21:39:23Z")

</div>

Unfortunately there isn’t a feature like that currently with Sway playground. You will need to fallback on using the SDKs like I mentioned earlier. However I think this is a very important feature to have as well. I have opened an issue in the Sway playground repository for our engineers to look at!  
[Using a custom deployed address to interact with written contract · Issue #79 · FuelLabs/sway-playground · GitHub](https://github.com/FuelLabs/sway-playground/issues/79) 🙂

Really appreciate your feedback in the Fuel community @shivamlync
