# Accessing and Interacting with the Deployed Contracts

Once a contract has been successfully deployed in **Q-Remix IDE**, it becomes available in the **Deployed Contracts** section. This section is located just below the **Deploy button** in the *Deploy & Run* tab. It provides a graphical interface for interacting with your contract's functions directly within the IDE.

#### What You Can Do

* **View Recently Deployed Contracts**:\
  Only the **last five deployed contracts** are retained and interactable within this section. If more than five contracts are deployed, the oldest one will be removed from the list.
* **Interact with Contract Functions**:\
  Each listed contract instance includes an interactive panel that exposes all its **public** and **external** functions. For each function:
  * Input fields are shown for required parameters.
  * `View` and `Pure` functions return values directly in the terminal.
  * `Payable` and state-changing functions initiate blockchain transactions.
* **Collapse or Expand Interface**:\
  Each deployed contract can be expanded to show available functions or collapsed for a cleaner interface.
* **Copy Address**:\
  The contract address can be copied for use in frontend integration or other tooling.

#### Transaction Output and Logging

* Any function interaction or transaction from the Deployed Contracts section is reflected in the **Terminal Panel** (bottom section of the IDE).
* Logs include:
  * Transaction hash
  * Status (success or failure)
  * Gas used
  * Return values (for `view`/`pure` functions)
  * Contract address and timestamp

> Tip: Use this section to thoroughly test your smart contract before pushing to a live blockchain.

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

Any transaction done in this manner would be reflected in the terminal.&#x20;

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


---

# 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://docs.qremix.org/core-modules/accessing-and-interacting-with-the-deployed-contracts.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.
