Skip to content

Type Alias: SimulateSuccess

type SimulateSuccess = Omit<EntryPointOutput, "revertData"> & {
  error?: undefined;
  feeTooHighDuringSimulation: boolean;
  feeTooLowDuringSimulation: boolean;
  maxFeePerGas: bigint;
  revertData?: undefined;
  status: typeof Success;
  submitterFee: bigint;
};

Defined in: apps/submitter/lib/handlers/simulate/types.ts:43

Successful simulate call.

Type declaration

error?

optional error: undefined;

feeTooHighDuringSimulation

feeTooHighDuringSimulation: boolean;

If true, indicates that the maxFeePerGas (either provided by the sender, or compute from the network) exceeded the submitter's maximum price.

feeTooLowDuringSimulation

feeTooLowDuringSimulation: boolean;

If true, indicates that the provided maxFeePerGas is lower than the current gas price.

maxFeePerGas

maxFeePerGas: bigint;

Estimated max fee per gas (in wei) for the Boop.

revertData?

optional revertData: undefined;

status

status: typeof Success;

submitterFee

submitterFee: bigint;

Total fee requested by the submitter for submitting this boop (in wei).