solana-framework
Version:
solana-framework is solana uni-tools for typescript
56 lines • 2.32 kB
TypeScript
/**
* This code was GENERATED using the solita package.
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
*
* See: https://github.com/metaplex-foundation/solita
*/
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
/**
* @category Instructions
* @category BurnEditionNft
* @category generated
*/
export declare const BurnEditionNftStruct: beet.BeetArgsStruct<{
instructionDiscriminator: number;
}>;
/**
* Accounts required by the _BurnEditionNft_ instruction
*
* @property [_writable_] metadata Metadata (pda of ['metadata', program id, mint id])
* @property [_writable_, **signer**] owner NFT owner
* @property [_writable_] printEditionMint Mint of the print edition NFT
* @property [] masterEditionMint Mint of the original/master NFT
* @property [_writable_] printEditionTokenAccount Token account the print edition NFT is in
* @property [] masterEditionTokenAccount Token account the Master Edition NFT is in
* @property [_writable_] masterEditionAccount MasterEdition2 of the original NFT
* @property [_writable_] printEditionAccount Print Edition account of the NFT
* @property [_writable_] editionMarkerAccount Edition Marker PDA of the NFT
* @property [] splTokenProgram SPL Token Program
* @category Instructions
* @category BurnEditionNft
* @category generated
*/
export type BurnEditionNftInstructionAccounts = {
metadata: web3.PublicKey;
owner: web3.PublicKey;
printEditionMint: web3.PublicKey;
masterEditionMint: web3.PublicKey;
printEditionTokenAccount: web3.PublicKey;
masterEditionTokenAccount: web3.PublicKey;
masterEditionAccount: web3.PublicKey;
printEditionAccount: web3.PublicKey;
editionMarkerAccount: web3.PublicKey;
splTokenProgram: web3.PublicKey;
};
export declare const burnEditionNftInstructionDiscriminator = 37;
/**
* Creates a _BurnEditionNft_ instruction.
*
* @param accounts that will be accessed while the instruction is processed
* @category Instructions
* @category BurnEditionNft
* @category generated
*/
export declare function createBurnEditionNftInstruction(accounts: BurnEditionNftInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=BurnEditionNft.d.ts.map