# Surplus Collateral

Users can directly deposit a static balance of tokens at the DEX contract. *Surplus collateral* can be used as a form of lightweight working capital with lower overhead and transaction costs than dealing with ERC20 token transfers on every swap, mint and burn operation.

Surplus collateral can either be directly deposited by a user by sending tokens directly to the DEX contract. Or it can be received as the output of a swap, burn or harvest operation. Surplus collateral can either be directly withdrawn, in which case the user receives the underlying tokens back to their wallet. Or it can be paid as the input into a swap or mint operation.&#x20;

Surplus collateral can also be directly transferred between users.&#x20;


---

# 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.ambient.finance/users/surplus-collateral.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.
