UNPKG

@metaplex-foundation/mpl-toolbox

Version:

Auto-generated essential Solana and Metaplex programs

22 lines (21 loc) 1.11 kB
/** * 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 SetComputeUnitPriceInstructionData = { discriminator: number; /** Transaction compute unit price used for prioritization fees. */ microLamports: bigint; }; export type SetComputeUnitPriceInstructionDataArgs = { /** Transaction compute unit price used for prioritization fees. */ microLamports: number | bigint; }; export declare function getSetComputeUnitPriceInstructionDataSerializer(): Serializer<SetComputeUnitPriceInstructionDataArgs, SetComputeUnitPriceInstructionData>; export type SetComputeUnitPriceInstructionArgs = SetComputeUnitPriceInstructionDataArgs; export declare function setComputeUnitPrice(context: Pick<Context, 'programs'>, input: SetComputeUnitPriceInstructionArgs): TransactionBuilder;