# Smart Contract Interaction

We’ve reached a key milestone—deploying our first smart contract. Now it’s time to interact with it! Be sure to save the smart contract address, usually the same as the transaction ID, as it’s essential for future interactions. If lost, you can recover it via the blockchain explorer.

With the contract deployed, you can now interact either directly through the IDE or by using the Circular Protocol APIs. As discussed earlier, there are two main ways to interact with your contract:

1\. Directly through the IDE

2\. Using Circular Protocol APIs for seamless integration.

**Regular Transactions:** These are submitted and executed as part of a blockchain block. To verify the outcome, you can check the blockchain explorer using the transaction’s unique ID.

**Single Node Calls (SNCs):** These aren’t full transactions but simple contract queries executed by a single node. The output is displayed in the IDE’s output section, similar to debugging.

Both interactions are easily managed within the IDE. To perform a regular transaction, simply enter the contract call into the Payload Terminal. Here’s an example to guide you:

<figure><img src="/files/lMyCPJAAxFrtXNTBvKSu" alt=""><figcaption></figcaption></figure>

For Single Node Calls we need to remember that the call will require a SNC method:

<figure><img src="/files/45Dtthb7OtSrxvMaIHMQ" alt=""><figcaption></figcaption></figure>

Instead of clicking the transaction icon, click the call icon to the left. Unlike a transaction, the call generates an immediate output, which will be displayed in the output section without creating a blockchain transaction.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://circular-protocol.gitbook.io/hyper-code-ide-guide/lesson-2-smart-contracts/smart-contract-interaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
