Function prepareProvideLiquidityTransactions

  • Returns a group transaction to provide liquidity in lock and earn.

    Returns

    object containing group transaction and escrow account

    Parameters

    • lockAndEarn: LockAndEarn

      lock and earn

    • senderAddr: string

      account address for the sender

    • depositAmount: number | bigint

      amount to deposit (will be locked)

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns {
        escrow: Account;
        txns: Transaction[];
    }

    • escrow: Account
    • txns: Transaction[]

Generated using TypeDoc