@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).
18 lines (17 loc) • 840 B
TypeScript
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
import { ConfigLine } from '../types/ConfigLine';
export declare type AddConfigLinesInstructionArgs = {
index: number;
configLines: ConfigLine[];
};
export declare const addConfigLinesStruct: beet.FixableBeetArgsStruct<AddConfigLinesInstructionArgs & {
instructionDiscriminator: number[];
}>;
export declare type AddConfigLinesInstructionAccounts = {
candyMachine: web3.PublicKey;
authority: web3.PublicKey;
anchorRemainingAccounts?: web3.AccountMeta[];
};
export declare const addConfigLinesInstructionDiscriminator: number[];
export declare function createAddConfigLinesInstruction(accounts: AddConfigLinesInstructionAccounts, args: AddConfigLinesInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;