Function prepareAddDepositEscrowToDeposits
- prepareAddDepositEscrowToDeposits(
depositsAppId: number,
userAddr: string,
params: SuggestedParams,
): { escrow: Account; txns: Transaction[] } Parameters
- depositsAppId: number
deposits application to add an escrow for
- userAddr: string
account address for the user
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns { escrow: Account; txns: Transaction[] }
object containing group transaction and generated escrow account
- depositsAppId: number
Returns a group transaction to add escrow before depositing.