@metaplex-foundation/mpl-candy-machine-core
Version:
MPL Candy Machine Core JavaScript API. This MPL package is for the current generation of the Candy Machine Core (a.k.a. Candy Machine V3).
17 lines (16 loc) • 766 B
TypeScript
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
import { CandyMachineData } from '../types/CandyMachineData';
export declare type UpdateInstructionArgs = {
data: CandyMachineData;
};
export declare const updateStruct: beet.FixableBeetArgsStruct<UpdateInstructionArgs & {
instructionDiscriminator: number[];
}>;
export declare type UpdateInstructionAccounts = {
candyMachine: web3.PublicKey;
authority: web3.PublicKey;
anchorRemainingAccounts?: web3.AccountMeta[];
};
export declare const updateInstructionDiscriminator: number[];
export declare function createUpdateInstruction(accounts: UpdateInstructionAccounts, args: UpdateInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;