solana-framework
Version:
solana-framework is solana uni-tools for typescript
65 lines • 2.41 kB
TypeScript
/**
* This code was GENERATED using the solita package.
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
*
* See: https://github.com/metaplex-foundation/solita
*/
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
import { VerificationArgs } from '../types/VerificationArgs';
/**
* @category Instructions
* @category Verify
* @category generated
*/
export type VerifyInstructionArgs = {
verificationArgs: VerificationArgs;
};
/**
* @category Instructions
* @category Verify
* @category generated
*/
export declare const VerifyStruct: beet.BeetArgsStruct<VerifyInstructionArgs & {
instructionDiscriminator: number;
}>;
/**
* Accounts required by the _Verify_ instruction
*
* @property [**signer**] authority Creator to verify, collection update authority or delegate
* @property [] delegateRecord (optional) Delegate record PDA
* @property [_writable_] metadata Metadata account
* @property [] collectionMint (optional) Mint of the Collection
* @property [_writable_] collectionMetadata (optional) Metadata Account of the Collection
* @property [] collectionMasterEdition (optional) Master Edition Account of the Collection Token
* @property [] sysvarInstructions Instructions sysvar account
* @category Instructions
* @category Verify
* @category generated
*/
export type VerifyInstructionAccounts = {
authority: web3.PublicKey;
delegateRecord?: web3.PublicKey;
metadata: web3.PublicKey;
collectionMint?: web3.PublicKey;
collectionMetadata?: web3.PublicKey;
collectionMasterEdition?: web3.PublicKey;
systemProgram?: web3.PublicKey;
sysvarInstructions: web3.PublicKey;
};
export declare const verifyInstructionDiscriminator = 52;
/**
* Creates a _Verify_ instruction.
*
* Optional accounts that are not provided default to the program ID since
* this was indicated in the IDL from which this instruction was generated.
*
* @param accounts that will be accessed while the instruction is processed
* @param args to provide as instruction data to the program
*
* @category Instructions
* @category Verify
* @category generated
*/
export declare function createVerifyInstruction(accounts: VerifyInstructionAccounts, args: VerifyInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=Verify.d.ts.map