@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).
16 lines (15 loc) • 751 B
TypeScript
import * as web3 from '@solana/web3.js';
import * as beet from '@metaplex-foundation/beet';
export declare type SetAuthorityInstructionArgs = {
newAuthority: web3.PublicKey;
};
export declare const setAuthorityStruct: beet.BeetArgsStruct<SetAuthorityInstructionArgs & {
instructionDiscriminator: number[];
}>;
export declare type SetAuthorityInstructionAccounts = {
candyMachine: web3.PublicKey;
authority: web3.PublicKey;
anchorRemainingAccounts?: web3.AccountMeta[];
};
export declare const setAuthorityInstructionDiscriminator: number[];
export declare function createSetAuthorityInstruction(accounts: SetAuthorityInstructionAccounts, args: SetAuthorityInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;