Function prepareProvideLiquidityTransactions
- prepareProvideLiquidityTransactions(lockAndEarn: LockAndEarn, senderAddr: string, depositAmount: number | bigint, params: SuggestedParams): {
escrow: Account;
txns: Transaction[];
}
-
Parameters
-
-
senderAddr: string
-
depositAmount: number | bigint
-
params: SuggestedParams
Returns {
escrow: Account;
txns: Transaction[];
}
-
escrow: Account
-
txns: Transaction[]
Returns a group transaction to provide liquidity in lock and earn.
Returns
object containing group transaction and escrow account