Function prepareOptDepositStakingEscrowIntoAsset
- prepareOptDepositStakingEscrowIntoAsset(
depositStakingAppId: number,
poolManagerAppId: number,
userAddr: string,
escrowAddr: string,
pool: Pool,
stakeIndex: number,
params: SuggestedParams,
): Transaction Parameters
- depositStakingAppId: number
deposit staking application of escrow
- poolManagerAppId: number
pool manager application
- userAddr: string
account address for the user
- escrowAddr: string
account address for the deposit staking escrow
- pool: Pool
pool to add f asset of
- stakeIndex: number
staking program index
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns Transaction
Transaction opt deposit staking escrow into asset transaction
- depositStakingAppId: number
Returns a transaction to opt deposit staking escrow into asset so that it can hold a given pool's f asset.