> 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/redeem-after-the-lock-period.md).

# Redeem after the lock period

lock time is reach and the cetus can be redeemed, the xCetus will be burned.

```typescript
const lock_id = '0x005ba9202a5d9e41c73155a1b4e47...'
const lock_cetus = await sdk.XCetusModule.getLockCetus(lock_id)
const venft_id = 'YOUR_VENFT_ID'

if (lock_cetus && !XCetusUtil.isLocked(lock_cetus)) {
  const payload = sdk.XCetusModule.redeemPayload({
    venft_id,
    lock_id,
  })
}
```
