solana-framework
Version:
solana-framework is solana uni-tools for typescript
51 lines • 1.92 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 { UpdateMetadataAccountArgsV2 } from '../types/UpdateMetadataAccountArgsV2';
/**
* @category Instructions
* @category UpdateMetadataAccountV2
* @category generated
*/
export type UpdateMetadataAccountV2InstructionArgs = {
updateMetadataAccountArgsV2: UpdateMetadataAccountArgsV2;
};
/**
* @category Instructions
* @category UpdateMetadataAccountV2
* @category generated
*/
export declare const UpdateMetadataAccountV2Struct: beet.FixableBeetArgsStruct<UpdateMetadataAccountV2InstructionArgs & {
instructionDiscriminator: number;
}>;
/**
* Accounts required by the _UpdateMetadataAccountV2_ instruction
*
* @property [_writable_] metadata Metadata account
* @property [**signer**] updateAuthority Update authority key
* @category Instructions
* @category UpdateMetadataAccountV2
* @category generated
*/
export type UpdateMetadataAccountV2InstructionAccounts = {
metadata: web3.PublicKey;
updateAuthority: web3.PublicKey;
};
export declare const updateMetadataAccountV2InstructionDiscriminator = 15;
/**
* Creates a _UpdateMetadataAccountV2_ instruction.
*
* @param accounts that will be accessed while the instruction is processed
* @param args to provide as instruction data to the program
*
* @category Instructions
* @category UpdateMetadataAccountV2
* @category generated
*/
export declare function createUpdateMetadataAccountV2Instruction(accounts: UpdateMetadataAccountV2InstructionAccounts, args: UpdateMetadataAccountV2InstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=UpdateMetadataAccountV2.d.ts.map