Function prepareClaimRewardsOfDepositStakingEscrow

    • Returns a transaction to claim the rewards of a deposit staking escrow

      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