gill

hasSetComputeLimitInstruction

function hasSetComputeLimitInstruction(tx): boolean;

Check if a given transaction contains a SetComputeUnitLimit instruction

Parameters

ParameterType
txTransactionMessage

Returns

boolean

On this page