Function mpl_token_metadata::instruction::burn_nft
source · 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.
[writable]
NFT metadata[writable, signer]
Owner of NFT[writable]
Mint of NFT[writable]
NFT token account[writable]
NFT edition account[]
SPL Token program.- Optional
[writable]
Collection metadata account