Function prepareIncreaseCollateralTransaction

  • Returns a transaction to increase collateral.

    Returns

    Transaction increase collateral transaction

    Parameters

    • tokenPair: TokenPair

      token pair to use for borrow

    • senderAddr: string

      account address for the sender

    • escrowAddr: string

      escrow address that will hold the collateral

    • collateralAmount: number | bigint

      collateral amount to send

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction

Generated using TypeDoc