Function prepareEarlyClaimGovernanceRewardsTransaction

  • Returns a group transaction to early claim governance rewards for a given amount of ALGO. Must be after commitment end. Rewards received is in gALGO. Amount of rewards is determined by rewards_per_algo.

    Returns

    Transaction early claim governance rewards transaction

    Parameters

    • dispenser: Dispenser

      distributor to receive gALGO from

    • distributor: Distributor

      distributor which has sender's commitment

    • senderAddr: string

      account address for the sender

    • amount: number | bigint

      amount of ALGO to early claim rewards on

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction

Generated using TypeDoc