Burn an NFT in Cadence

			import Avataaars from 0xcb9a812737bbc679

transaction(nftID: UInt64) {

  let Collection: &Avataaars.Collection

  prepare(signer: AuthAccount) {
    // borrow a reference to the signer's collection
    self.Collection = signer.borrow<&Avataaars.Collection>(from: Avataaars.CollectionStoragePath)
                        ?? panic("The signer does not have an Avataaars collection set up, and therefore no NFTs to burn.")

  execute {
    // withdraw the nft from the collection
    let nft <- self.Collection.withdraw(withdrawID: nftID)
    // destroy, or "burn", the nft
    destroy nft