gill

hasSetComputeUnitPriceInstruction

function hasSetComputeUnitPriceInstruction(tx): boolean;

Check if a given transaction contains a SetComputeUnitPrice instruction

Parameters

ParameterType
txTransactionMessage

Returns

boolean

On this page