UNPKG

solana-framework

Version:

solana-framework is solana uni-tools for typescript

48 lines 1.77 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 CreateMetadataAccount * @category generated */ export declare const CreateMetadataAccountStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number; }>; /** * Accounts required by the _CreateMetadataAccount_ instruction * * @property [_writable_] metadata Metadata key (pda of ['metadata', program id, mint id]) * @property [] mint Mint of token asset * @property [**signer**] mintAuthority Mint authority * @property [_writable_, **signer**] payer payer * @property [] updateAuthority update authority info * @category Instructions * @category CreateMetadataAccount * @category generated */ export type CreateMetadataAccountInstructionAccounts = { metadata: web3.PublicKey; mint: web3.PublicKey; mintAuthority: web3.PublicKey; payer: web3.PublicKey; updateAuthority: web3.PublicKey; systemProgram?: web3.PublicKey; rent?: web3.PublicKey; }; export declare const createMetadataAccountInstructionDiscriminator = 0; /** * Creates a _CreateMetadataAccount_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category CreateMetadataAccount * @category generated */ export declare function createCreateMetadataAccountInstruction(accounts: CreateMetadataAccountInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction; //# sourceMappingURL=CreateMetadataAccount.d.ts.map