The callGasLimit (CGL) sets the upper boundary for the gas available during the execution phase of a UserOperation. In compliance with the ERC-4337 standard, all account actions are represented within the callData and receive allocated gas within the limit defined by the callGasLimit.

When estimating a transaction, we have the ability to set this callGasLimit like so:

// estimate transactions added to the batch and get the fee data for the UserOp
// passing callGasLimit as 40000 to manually set it
const op = await primeSdk.estimate({ callGasLimit: 4000 });