@metaplex-foundation/mpl-candy-guard
Version:
MPL Candy Guard JavaScript API. This MPL package is for the current generation of the Candy Guard
18 lines (17 loc) • 759 B
TypeScript
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
export declare type UpdateInstructionArgs = {
data: Uint8Array;
};
export declare const updateStruct: beet.FixableBeetArgsStruct<UpdateInstructionArgs & {
instructionDiscriminator: number[];
}>;
export declare type UpdateInstructionAccounts = {
candyGuard: web3.PublicKey;
authority: web3.PublicKey;
payer: web3.PublicKey;
systemProgram?: web3.PublicKey;
anchorRemainingAccounts?: web3.AccountMeta[];
};
export declare const updateInstructionDiscriminator: number[];
export declare function createUpdateInstruction(accounts: UpdateInstructionAccounts, args: UpdateInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;