Function prepareClaimRewardsOfDepositStakingEscrow
- prepareClaimRewardsOfDepositStakingEscrow(
depositStakingAppId: number,
userAddr: string,
escrowAddr: string,
receiverAddr: string,
stakeIndex: number,
rewardAssetIds: number[],
params: SuggestedParams,
): Transaction Parameters
- depositStakingAppId: number
deposit staking application of escrow
- userAddr: string
account address for the user
- escrowAddr: string
account address for the deposit staking escrow
- receiverAddr: string
account address to receive the withdrawal (typically the same as the user address)
- stakeIndex: number
staking program index
- rewardAssetIds: number[]
the asset ids of all the rewards assets claiming
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns Transaction
Transaction withdraw from deposit staking escrow transaction
- depositStakingAppId: number
Returns a transaction to claim the rewards of a deposit staking escrow