Function prepareBurnTransactions

  • Returns a group transaction to burn gALGO for ALGO at a one-to-one rate. Must be after period end.

    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