Function prepareEarlyClaimGovernanceRewardsTransaction
- prepareEarlyClaimGovernanceRewardsTransaction(
dispenser: Dispenser,
distributor: Distributor,
senderAddr: string,
amount: number | bigint,
params: SuggestedParams,
): 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
Transaction early claim governance rewards transaction
- dispenser: Dispenser
 
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.