# Cancel

In order to cancel position tokens (Bull/Bear), the contract needs to be executed with the command "Cancel" and the generated message body according to the *rule.* It must include authentication to sign your execution.

Canceling a position is only possible while holding the same amount of position tokens from the same event data.

## Step by step Guide

1\) Go to the 'Cancel' page&#x20;

2\) Fill in the form with the event data \
The amount of the Bull and Bear tokens is defined by the amount of Collateral asset you wish to send back to the contract.

![](/files/-Mj9hLrTr6pzGXbsu7bF)

3\) Click the "Generate" button to continue

4\) Verify your cancel data summary and click the 'Copy all' button

![](/files/-Mj9hPR7eVQQDD2QvnG-)

5\) Open your Zen Wallet and go to the 'Send' page under 'My Wallet' tab and click the 'Paste' button. Pasting the data is also possible using the QR code. Scan the QR code to copy the generated data.

![](/files/-Mj9hUm-u0LwTTW-D1I3)

6\) Click the 'Execute' button to continue

![](/files/-Mj9h_2RNXixiPCcSRzz)

7\) Review your "Execution Summary" and click 'Continue'

![](/files/-Mj9hdB53cJiVghvdIvt)

8\) Enter your password to sign the transaction and click 'Continue'

![](/files/-Mj9hhMLHVPw_EuAerQC)

9\) Confirm your contract execution transaction and click ‘Publish’

![](/files/-Mj9hjY6zg5bJAQsouIN)

10\) After publishing your transaction a success message will appear

11\) View your transaction on the ‘Transaction History’ page You might first see the transaction on pending status, till it will get its first confirmation.

![](/files/-Mj9hsIfYUSgJ-iYI62_)


---

# 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.zenprotocol.com/apps/fixed-payout/fixed-payout-generator/cancel.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.
