> For the complete documentation index, see [llms.txt](https://cetus-1.gitbook.io/cetus-developer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cetus-1.gitbook.io/cetus-developer-docs/developer/via-sdk-v2/sdk-modules/cetusprotocol-xcetus-sdk/convert-xcetus-to-cetus-with-lock-period.md).

# Convert xCetus to Cetus with lock period

Convert xCetus to Cetus, first step is to lock the Cetus for a period. When the time is reach, cetus can be redeem and xCetus will be burned.

#### Function Parameters

* amount: the number of xCetus you want to convert
* venft\_id: Your VeNFT id
* lock\_day: The number of days you want to lock.

```typescript
const lock_day = 15
const amount_input = 20000
const amount = await sdk.XCetusModule.redeemNum(amount_input, lock_day)

sdk.XCetusModule.redeemLockPayload({
  venft_id,
  amount,
  lock_day,
})
```
