@metaplex-foundation/mpl-candy-guard
Version:
MPL Candy Guard JavaScript API. This MPL package is for the current generation of the Candy Guard
16 lines (15 loc) • 749 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 = {
candyGuard: 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;