Function prepareUnmintPremintTransaction

  • Returns a transaction to unmint pre-minted gALGO for ALGO at a one-to-one rate. Must be in commitment period. By unminting, you will lose your governance rewards.

    Returns

    Transaction unmint pre-mint transaction

    Parameters

    • 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 unmint and ALGO to receive

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    • Optional note: Uint8Array

      optional note to distinguish who is the unminter (must pass to be eligible for revenue share)

    Returns Transaction[]

Generated using TypeDoc