UNPKG

solana-framework

Version:

solana-framework is solana uni-tools for typescript

60 lines 2.32 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'; import { SetCollectionSizeArgs } from '../types/SetCollectionSizeArgs'; /** * @category Instructions * @category SetCollectionSize * @category generated */ export type SetCollectionSizeInstructionArgs = { setCollectionSizeArgs: SetCollectionSizeArgs; }; /** * @category Instructions * @category SetCollectionSize * @category generated */ export declare const SetCollectionSizeStruct: beet.BeetArgsStruct<SetCollectionSizeInstructionArgs & { instructionDiscriminator: number; }>; /** * Accounts required by the _SetCollectionSize_ instruction * * @property [_writable_] collectionMetadata Collection Metadata account * @property [_writable_, **signer**] collectionAuthority Collection Update authority * @property [] collectionMint Mint of the Collection * @property [] collectionAuthorityRecord (optional) Collection Authority Record PDA * @category Instructions * @category SetCollectionSize * @category generated */ export type SetCollectionSizeInstructionAccounts = { collectionMetadata: web3.PublicKey; collectionAuthority: web3.PublicKey; collectionMint: web3.PublicKey; collectionAuthorityRecord?: web3.PublicKey; }; export declare const setCollectionSizeInstructionDiscriminator = 34; /** * Creates a _SetCollectionSize_ 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 * @param args to provide as instruction data to the program * * @category Instructions * @category SetCollectionSize * @category generated */ export declare function createSetCollectionSizeInstruction(accounts: SetCollectionSizeInstructionAccounts, args: SetCollectionSizeInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction; //# sourceMappingURL=SetCollectionSize.d.ts.map