Function makeAssetDestroyTxn

  • makeAssetDestroyTxn will allow the asset's manager to remove this asset from the ledger, so long as all outstanding assets are held by the creator.

    Deprecated

    in version 2.0 this will change to use the "WithSuggestedParams" signature.

    Parameters

    • from: string

      string representation of Algorand address of sender

    • fee: number

      integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.

    • firstRound: number

      integer first protocol round on which this txn is valid

    • lastRound: number

      integer last protocol round on which this txn is valid

    • note: Uint8Array

      uint8array of arbitrary data for sender to store

    • genesisHash: string

      string specifies hash genesis block of network in use

    • genesisID: string

      string specifies genesis ID of network in use

    • assetIndex: number

      int asset index uniquely specifying the asset

    • Optional rekeyTo: string

      rekeyTo address, optional

    Returns Transaction

Generated using TypeDoc