UNPKG

@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).

13 lines (12 loc) 577 B
import * as beet from '@metaplex-foundation/beet'; import * as web3 from '@solana/web3.js'; export declare const withdrawStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; export declare type WithdrawInstructionAccounts = { candyMachine: web3.PublicKey; authority: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const withdrawInstructionDiscriminator: number[]; export declare function createWithdrawInstruction(accounts: WithdrawInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;