UNPKG

solana-framework

Version:

solana-framework is solana uni-tools for typescript

51 lines 1.98 kB
/** * 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 CreateMasterEdition * @category generated */ export declare const CreateMasterEditionStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number; }>; /** * Accounts required by the _CreateMasterEdition_ instruction * * @property [_writable_] edition Unallocated edition V2 account with address as pda of ['metadata', program id, mint, 'edition'] * @property [_writable_] mint Metadata mint * @property [**signer**] updateAuthority Update authority * @property [**signer**] mintAuthority Mint authority on the metadata's mint - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY * @property [_writable_, **signer**] payer payer * @property [] metadata Metadata account * @category Instructions * @category CreateMasterEdition * @category generated */ export type CreateMasterEditionInstructionAccounts = { edition: web3.PublicKey; mint: web3.PublicKey; updateAuthority: web3.PublicKey; mintAuthority: web3.PublicKey; payer: web3.PublicKey; metadata: web3.PublicKey; tokenProgram?: web3.PublicKey; systemProgram?: web3.PublicKey; rent?: web3.PublicKey; }; export declare const createMasterEditionInstructionDiscriminator = 10; /** * Creates a _CreateMasterEdition_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category CreateMasterEdition * @category generated */ export declare function createCreateMasterEditionInstruction(accounts: CreateMasterEditionInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction; //# sourceMappingURL=CreateMasterEdition.d.ts.map