# Write Tab

The Write Contract Tab allows users to perform state-changing actions on a smart contract, such as transferring tokens, updating settings, or triggering specific operations. These interactions modify the blockchain's state and require wallet authorization.

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

**Wallet Connection**

Users must connect their wallet to execute write functions. This ensures secure interactions, allows authentication and facilitates the payment of gas fees required for the transaction.

**Contract Information**

* **Callable Functions:** The tab lists all available write functions within the smart contract *(e.g., batchTransferETH)*. These methods enable users to make changes to the blockchain's data.
* **Expandable Functions:** Clicking on a function name expands it to reveal input fields and options for user interaction.
* **Input Fields:** Each function displays the required inputs *(e.g., wallet addresses, token amounts)* that users must provide to execute the operation.

**Executing Transactions**

* **Execute Button:** Once all input fields are completed, users can click the Execute button to initiate the transaction. This will prompt the connected wallet for confirmation.
* **Gas Fees:** Executing write functions incurs gas fees. The estimated fee is displayed in the wallet confirmation screen, ensuring users are aware of the cost before approving the 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://docs.blockdagnetwork.io/block-explorer/evm/contract-listing/contract-details/contract-tab/write-tab.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.
