Function makeAssetConfigTxnWithSuggestedParams

  • makeAssetConfigTxnWithSuggestedParams can be issued by the asset manager to change the manager, reserve, freeze, or clawback you must respecify existing addresses to keep them the same; leaving a field blank is the same as turning that feature off for this asset

    Parameters

    • from: string

      string representation of Algorand address of sender

    • note: Uint8Array

      uint8array of arbitrary data for sender to store

    • assetIndex: number

      int asset index uniquely specifying the asset

    • manager: string

      string representation of new asset manager Algorand address

    • reserve: string

      string representation of new reserve Algorand address

    • freeze: string

      string representation of new freeze manager Algorand address

    • clawback: string

      string representation of new revocation manager Algorand address

    • suggestedParams: SuggestedParams

      a dict holding common-to-all-txns args: fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true flatFee - bool optionally set this to true to specify fee as microalgos-per-txn If true, txn fee may fall below the ALGORAND_MIN_TX_FEE firstRound - integer first protocol round on which this txn is valid lastRound - integer last protocol round on which this txn is valid genesisHash - string specifies hash genesis block of network in use genesisID - string specifies genesis ID of network in use

    • strictEmptyAddressChecking: boolean = true

      boolean - throw an error if any of manager, reserve, freeze, or clawback are undefined. optional, defaults to true.

    • Optional rekeyTo: string

      rekeyTo address, optional

    Returns Transaction

Generated using TypeDoc