> For the complete documentation index, see [llms.txt](https://docs.tradeflows.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tradeflows.io/guides/getting-started/escrows/decrease-collateral.md).

# Decrease Collateral

It is still the payers money

At any time, the payer can withdraw funds from the escrow. As soon as this happens, the seller sees this decrease of funds and a negotiation can start.

```javascript
let tokenId = toUint256WithFelts("0")
const amount = toUint256WithFelts((BigInt('500'.replace(/,/g, ''))).toString())

await account0.invoke(
    txEscrowContract, 
    'decrease', 
    { 
        tokenId: tokenId, 
        amount: amount 
    }, 
    { maxFee: FEE}
  )
```

Full control is essential for the payer, full transparency is essential for the seller. The Core protocol addresses both.
