> For the complete documentation index, see [llms.txt](https://docs.cork.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cork.tech/core-concepts/swap-token.md).

# Swap Token

{% hint style="info" %}
**TL;DR:** The Cork Swap Token (cST) is a tokenized risk instruments that allows market participants to price, hedge, and trade the risk associated with a Reference Asset.
{% endhint %}

### Introduction

Many assets in DeFi carry specific forms of risk — duration, illiquidity, credit, and price deviation risks. These risks affect numerous market participants and asset types, including institutional users, vaults, and asset issuers. The Cork Swap Token is a DeFi primitive that allows you to price, hedge, and trade such risks.

***

### How Swap Tokens Work

On Cork, every market pairs a **Reference Asset** (e.g. a RWA credit fund) with a Collateral Asset (eg sUSDS).

A **Swap Token** is a tokenized derivative that grants the holder the right, at any time before a set expiry date, to immediately exchange a specified **Reference Asset** plus the **Swap Token** for a **Collateral Asset** at pre-defined terms.

$$
Swap\ Token + Reference\ Asset = Collateral\ Asset
$$

***

### A Solution for Duration Risk

A major use case for Swap Tokens is to act as a liquidity facility to hedge against duration risk. Certain assets, such as RWAs with long redemption windows (eg 40+ days), are difficult to leverage in DeFi due to the lack of secondary liquidity whilst the asset carries significant duration risk. To make such asset composable with lending markets, vaults etc. which may require more immediate liquidity, a Cork Pool can be configured with the RWA as a Reference Asset and a liquid Collateral Asset. This means, that the previously illiquid RWA, can be instantly swapped to a liquid collateral through the use of the Swap Token. As a result, it can become composable with the rest of DeFi, solving the Duration Risk challenge of the RWA.

***

### Applications of Swap Tokens

Swap Tokens can provide coverage for a wide range of risks and use cases including:

* **Looping**: Swap Tokens can be used in looping trades to shield against liquidation events and provide instant liquidity in particular to illiquid assets (eg Vault Tokens, RWAs)
* **Duration Risk:** In addition to RWAs, other market participants including Vaults and Bridges which may face significant duration mismatches in their business, can leverage Cork to gain a more capital efficient liquidity buffer to support smooth functioning in volatile market conditions.
* **Price deviation risk:** Temporary or permanent loss of value relative to the Collateral Asset can be hedged with Cork Swap Tokens.
* **Credit risk**: Instruments with credit risk, such as credit funds or certain stablecoins, can be hedged.


---

# 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.cork.tech/core-concepts/swap-token.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.
