# Trade Settlement

In Jasper Vault, options trading settlement involves three scenarios for settling funds and profits: Cash Exercise, Asset Exercise, and Not Exercising.

1. Cash Exercise

When the current price exceeds the strike price, buyers can choose cash exercise settlement. The relayer monitors EVM transactions and submits the transaction logs to Jasper Nodes. Jasper Nodes verify these logs and sign the BTC unlock transaction using PSBT. The relayer then monitors the Jasper signatures and submits the unlock BTC signature on the Bitcoin blockchain. The profit is sent to the buyers, and the remaining BTC is returned to the sellers.

<figure><img src="/files/24BIwJNBezYKEcWCMLhN" alt=""><figcaption></figcaption></figure>

2. Asset Exercise

When the current price exceeds the strike price, buyers can choose asset exercise settlement. Unlike cash exercise, asset exercise requires buyers to pay USDT for BTC. The relayer monitors EVM transactions and submits the transaction logs to Jasper Nodes. Jasper Nodes verify these logs and sign the BTC unlock transaction using PSBT. The relayer then monitors the Jasper signatures and submits the unlock BTC signature on the Bitcoin blockchain. The BTC is then sent to the buyers.

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

3. Not Exercising

When the current price is below the strike price and the BTC lock period has expired, the sellers' BTC will be unlocked. The relayer monitors the Bitcoin transaction logs. Jasper Nodes verify the BTC transactions and sign the non-exercising BTC using EIP-712 when the relayer submits the BTC transaction logs and monitors the Jasper signature transactions. The relayer then submits the non-exercising signature to the EVM chain, where it is verified to close the order.

<figure><img src="/files/2dcmkFeKupSyCfVEacO6" 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.jaspervault.io/development/architecture/trade-settlement.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.
