Calculates the redeem number

Calculates the redeem number for the specified amount and lock day

Function Parameters

  • amount_input: the number of tokens that can be redeemed

  • lock_day: the number of days the tokens will be locked

const lock_day = 15
const amount_input = 20000

const amount = await sdk.XCetusModule.redeemNum(amount_input, lock_day)

Last updated