@bbachain/spl-token-metadata
Version:
41 lines • 1.53 kB
TypeScript
import * as beet from '@bbachain/beet';
import * as web3 from '@bbachain/web3.js';
import { UpdateMetadataAccountArgs } from '../types';
/**
* @category Instructions
* @category UpdateMetadataAccount
*/
export type UpdateMetadataAccountInstructionArgs = {
updateMetadataAccountArgs: UpdateMetadataAccountArgs;
};
/**
* @category Instructions
* @category UpdateMetadataAccount
*/
export declare const UpdateMetadataAccountStruct: beet.FixableBeetArgsStruct<UpdateMetadataAccountInstructionArgs & {
instructionDiscriminator: number;
}>;
/**
* Accounts required by the _UpdateMetadataAccount_ instruction
*
* @property [_writable_] metadata Metadata account
* @property [**signer**] updateAuthority Update authority key
* @category Instructions
* @category UpdateMetadataAccount
*/
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
* @param args to provide as instruction data to the program
*
* @category Instructions
* @category UpdateMetadataAccount
*/
export declare function createUpdateMetadataAccountInstruction(accounts: UpdateMetadataAccountInstructionAccounts, args: UpdateMetadataAccountInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=UpdateMetadataAccount.d.ts.map