> For the complete documentation index, see [llms.txt](https://docs.ducatprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ducatprotocol.com/how-ducat-works/vaults/deposit-btc.md).

# Deposit BTC

The user adds more Bitcoin to their existing vault as additional collateral, keeping their borrowed UNIT amount unchanged but improving their collateralisation ratio, which makes liquidation less likely. This is executed through a single transaction that updates the relevant vault record to reflect the increased Bitcoin collateral and its effect on the liquidation price.

The user initiates a transaction to add more BTC collateral to their existing vault UTXO. The MPC network verifies the incoming BTC amount and confirms the transaction. The transaction builder then constructs a PSBT that combines the new BTC with the existing vault collateral. The outputs include an updated vault UTXO with the increased collateral amount, while maintaining the same borrowed UNIT position.

In a second transaction, the updated vault state is processed, covering the network fees for both transactions to ensure atomic execution. This generates an updated vault token reflecting the new total collateral and improved collateralisation ratio. The vault UTXO continues to support both the user update path and the guardian/oracle liquidation path, with the increased collateral providing a greater safety buffer.

An OP\_RETURN output records the new vault state, including the updated BTC collateral and revised collateralisation ratio.

<figure><picture><source srcset="/files/1kKZRU8Yal5r2FEhlicg" media="(prefers-color-scheme: dark)"><img src="/files/M8X3tFg3l6ayqjfMw1XY" alt=""></picture><figcaption><p>Deposit BTC Transaction Diagram</p></figcaption></figure>


---

# 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.ducatprotocol.com/how-ducat-works/vaults/deposit-btc.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.
