Gets the list of redemption locks

Gets the list of LockCetus objects owned by the specified account address.

const wallet = 'YOUR_WALLET_ADDRESS'
const redeem_lock_list = await sdk.XCetusModule.getOwnerRedeemLockList(wallet)

// redeem_lock_list
redeem_lock_list: [
  {
    id: '0x005ba9202a5d9e41c73155a1b4e47...',
    type: '0x9e69acc50ca03bc943c4f7c5304c2a6002d507b51c11913b247159c60422c606::lock_coin::LockedCoin<0x06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS>',
    locked_start_time: 1730442744,
    locked_until_time: 1745994744,
    cetus_amount: '500000000',
    xcetus_amount: '500000000',
    lock_day: 180,
  },
]

Last updated