@metaplex-foundation/mpl-toolbox
Version:
Auto-generated essential Solana and Metaplex programs
22 lines (21 loc) • 1.04 kB
TypeScript
/**
* This code was AUTOGENERATED using the kinobi library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
*
* @see https://github.com/metaplex-foundation/kinobi
*/
import { Context, TransactionBuilder } from '@metaplex-foundation/umi';
import { Serializer } from '@metaplex-foundation/umi/serializers';
export type SetComputeUnitLimitInstructionData = {
discriminator: number;
/** Transaction-wide compute unit limit. */
units: number;
};
export type SetComputeUnitLimitInstructionDataArgs = {
/** Transaction-wide compute unit limit. */
units: number;
};
export declare function getSetComputeUnitLimitInstructionDataSerializer(): Serializer<SetComputeUnitLimitInstructionDataArgs, SetComputeUnitLimitInstructionData>;
export type SetComputeUnitLimitInstructionArgs = SetComputeUnitLimitInstructionDataArgs;
export declare function setComputeUnitLimit(context: Pick<Context, 'programs'>, input: SetComputeUnitLimitInstructionArgs): TransactionBuilder;