For the complete documentation index, see llms.txt. This page is also available as Markdown.

Redeem after the lock period

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

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,
  })
}

Last updated