Function prepareBurnTransactions

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

    Returns

    Transaction[] burn transactions

    Parameters

    • dispenser: Dispenser

      dispenser to send gALGO to

    • distributor: Distributor

      distributor that calls dispenser and to send ALGO to

    • 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[]

Generated using TypeDoc