> For the complete documentation index, see [llms.txt](https://docs.zenprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zenprotocol.com/apps/wallet/wallet-structure/contracts/execute-contract.md).

# Execute a Contract

### Step By Step Guide

**Step 1:** Click the ‘Execute’ button

![](https://lh6.googleusercontent.com/qVukcVFosxL4J-Jpt4icOxIcDUOxPUTf7qO4xurFO3WYI1Ezw_VXCWOZ0at8VRWkZgHEEcV29gMhwJ_1X5i1GyU-dq9aSM5P-HVEJthTl3SffDKqE93dAEzXAm4fdOl5QZaj-UzH)

**Step 2:** Fill in the ‘Execute Contract’ dialog box with the relevant data

![](https://lh5.googleusercontent.com/-6kKxnwX4qXVx2GIIxKXrKmb0VE6cphlaOStHppbYOi6C6mtsJw4iijbh5E06kG5JsA3wF3lzO9v1dtmsTF2UVRtG4YR-UIYTRFWlky27yByrNKw1rY-n8Ju2BCQoS-BDZz0w2OI)

* You can also execute a contract using the ‘Send’ form under ‘My Wallet’. Pasting a contract address in the destination address field, will automatically adjust the form.

**Step 3:** Review your Execution summary and click ‘Continue’<br>

![](https://lh3.googleusercontent.com/PUhysAvD9zeSN-OBTjLzXGN_faclul9-o49EroFlCga0zs3qS4O5eZY5dGkCw4x8mghNOIUEiI3485sfabWL9cKD1NXnhoi9amGJC1GBeh-r7523s9zW1FTVHp6FHcOHZbDT5Mvq)

**Step 4:** Enter your password to sign the transaction and click ‘Continue’

Optional: In case a passphrase was use when wallet was connected, the passphrase will be required for this step

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

**Step 5:** Confirm your contract execution transaction and click ‘Publish’

![](https://lh4.googleusercontent.com/KnDDKyimnc0aFV87WjEdv90oZvEQ4r6-E1lHvv5dZZzXypIikWOKGMAonAfOnI367NvqHms5BMQ-XrCPy5OV5M8NE3FSP4msYT_uC8tYO-jjOUwV8hlNpS0kTPR6K85HbxJEubxI)

{% content-ref url="/pages/-MXS03BVUkj-obupvmzz" %}
[Message Body Field](/apps/wallet/wallet-structure/contracts/execute-contract/message-body-field.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.zenprotocol.com/apps/wallet/wallet-structure/contracts/execute-contract.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
