Function prepareMintXAlgoTransactions

  • Returns a group transaction to mint xALGO for ALGO.

    Returns

    Transaction[] mint transactions

    Parameters

    • xAlgo: XAlgo

      xAlgo application to mint xALGO from

    • senderAddr: string

      account address for the sender

    • amount: number | bigint

      amount of ALGO to send

    • minReceivedAmount: number | bigint

      min amount of xALGO expected to receive

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    • Optional note: Uint8Array

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

    Returns Transaction[]

Generated using TypeDoc