solana-framework
Version:
solana-framework is solana uni-tools for typescript
40 lines • 1.44 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';
/**
* @category Instructions
* @category UpdateMetadataAccount
* @category generated
*/
export declare const UpdateMetadataAccountStruct: beet.BeetArgsStruct<{
instructionDiscriminator: number;
}>;
/**
* Accounts required by the _UpdateMetadataAccount_ instruction
*
* @property [_writable_] metadata Metadata account
* @property [**signer**] updateAuthority Update authority key
* @category Instructions
* @category UpdateMetadataAccount
* @category generated
*/
export type UpdateMetadataAccountInstructionAccounts = {
metadata: web3.PublicKey;
updateAuthority: web3.PublicKey;
};
export declare const updateMetadataAccountInstructionDiscriminator = 1;
/**
* Creates a _UpdateMetadataAccount_ instruction.
*
* @param accounts that will be accessed while the instruction is processed
* @category Instructions
* @category UpdateMetadataAccount
* @category generated
*/
export declare function createUpdateMetadataAccountInstruction(accounts: UpdateMetadataAccountInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=UpdateMetadataAccount.d.ts.map