# Unwrapping CATs

<figure><img src="/files/vgxYuCLWwt5CVrL4tW8G" alt=""><figcaption><p>CAT unwrapping transaction model &#x26; process steps</p></figcaption></figure>

To unwrap a CAT, a user first needs to call the `bridgeBack` method on the WrappedCAT ERC-20 contract, specifying a receiver and the desired amount to bridge back. The transaction will generate a message which can be relayed to Chia via the warp.green protocol.

On Chia, the unlocker puzzle is used to return CATs to the users. The coin accepts a list of vault coins, which can then be spent. The last vault in the list will create a CAT with an inner puzzle hash equal to the one specified when unwrapping was initiated on Ethereum, effectively 'sending' the CAT amount to the intended receiver. If the total value of the vault coins being spent is higher than the payout value, a new vault coin is created to contain the change.

Notably, vault coins are locked with a puzzle called `p2_controller_puzzle_hash`, which allows the coin to be controlled by another coin with a different puzzle hash (the unlocker puzzle hash, in this case).


---

# 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.warp.green/developers/cat-bridge/unwrapping-cats.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.
