Module: LiquidateTransaction

Transaction modules

Methods

(static) liquidateAccount(wallet, userKey, Debt, Collateral, LTV, LiquidatorFunds, LastEpochProfit) → {object}

Use liquidateAccount transaction function

Parameters:
Name Type Description
wallet object

pass wallet

userKey Number

Address of liquidate

Debt Number

Debt

Collateral Number

Collateral

LTV Number

LTV

LiquidatorFunds Number

LiquidatorFunds

LastEpochProfit Number

LastEpochProfit

Returns:
  • return message
Type
object