Function prepareBurnTransactions
- prepareBurnTransactions(
dispenser: Dispenser,
distributor: Distributor,
senderAddr: string,
amount: number | bigint,
params: SuggestedParams,
): Transaction[] Parameters
- dispenser: Dispenser
dispenser to send gALGO to
- distributor: Distributor
distributor to receive ALGO from
- senderAddr: string
account address for the sender
- amount: number | bigint
amount of gALGO to send and ALGO to receive
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns Transaction[]
Transaction[] burn transactions
- dispenser: Dispenser
Returns a group transaction to burn gALGO for ALGO at a one-to-one rate. Must be after period end.