Function prepareAddDepositStakingEscrow
- prepareAddDepositStakingEscrow(
depositStakingAppId: number,
userAddr: string,
params: SuggestedParams,
): { escrow: Account; txns: Transaction[] } Parameters
- depositStakingAppId: number
deposit staking application to query about
- 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
- depositStakingAppId: number
Returns a group transaction to deposit staking escrow.