UNPKG

solana-framework

Version:

solana-framework is solana uni-tools for typescript

49 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 SetTokenStandard * @category generated */ export declare const SetTokenStandardStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number; }>; /** * Accounts required by the _SetTokenStandard_ instruction * * @property [_writable_] metadata Metadata account * @property [**signer**] updateAuthority Metadata update authority * @property [] mint Mint account * @property [] edition (optional) Edition account * @category Instructions * @category SetTokenStandard * @category generated */ export type SetTokenStandardInstructionAccounts = { metadata: web3.PublicKey; updateAuthority: web3.PublicKey; mint: web3.PublicKey; edition?: web3.PublicKey; }; export declare const setTokenStandardInstructionDiscriminator = 35; /** * Creates a _SetTokenStandard_ instruction. * * Optional accounts that are not provided will be omitted from the accounts * array passed with the instruction. * An optional account that is set cannot follow an optional account that is unset. * Otherwise an Error is raised. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category SetTokenStandard * @category generated */ export declare function createSetTokenStandardInstruction(accounts: SetTokenStandardInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction; //# sourceMappingURL=SetTokenStandard.d.ts.map