UNPKG

@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) 683 B
import * as beet from '@metaplex-foundation/beet'; import * as web3 from '@solana/web3.js'; export declare const unwrapStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; export declare type UnwrapInstructionAccounts = { candyGuard: web3.PublicKey; authority: web3.PublicKey; candyMachine: web3.PublicKey; candyMachineAuthority: web3.PublicKey; candyMachineProgram: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const unwrapInstructionDiscriminator: number[]; export declare function createUnwrapInstruction(accounts: UnwrapInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;