pub fn burn_nft(
    program_id: Pubkey,
    metadata: Pubkey,
    owner: Pubkey,
    mint: Pubkey,
    token: Pubkey,
    edition: Pubkey,
    spl_token: Pubkey,
    collection_metadata: Option<Pubkey>
) -> Instruction
Expand description

Burn NFT

Burn an NFT, closing its token, metadata and edition accounts.

  1. [writable] NFT metadata
  2. [writable, signer] Owner of NFT
  3. [writable] Mint of NFT
  4. [writable] NFT token account
  5. [writable] NFT edition account
  6. [] SPL Token program.
  7. Optional [writable] Collection metadata account