4337 Gas Estimator Documentation

Enumerations

ChainStack
EntryPointVersion

Classes

ArbitrumGasEstimator
EntryPointV6
EntryPointV6Simulations
EntryPointV7Simulations
EVMGasEstimator
MantleGasEstimator
OptimismGasEstimator
ParseError
SimulateHandleOpError
StateOverrideBuilder

Interfaces

CreateGasEstimatorOptions
EstimateUserOperationGasOptions
EstimateUserOperationGasParams
EstimateUserOperationGasResultV6
EstimateUserOperationGasResultV7
EstimateVerificationGasLimitParams
EstimateVerificationGasLimitResult
GasEstimator
IEntryPointV6
IEntryPointV6Simulations
IEntryPointV7Simulations
SimulateHandleOpParams
SimulateHandleOpParamsV6
SimulationLimits

Type Aliases

BenchmarkResults
EntryPointRpcClient
EntryPoints
EntryPointV6Abi
EstimateUserOperationGasResult
ExecutionResult
ExecutionResultV6
ExecutionResultV7
GasEstimatorRpcClient
MakeOptional
PackedUserOperation
StateOverrideSet
SupportedChain
UnEstimatedUserOperation
UnEstimatedUserOperationV6
UnEstimatedUserOperationV7
UserOperation
UserOperationV6
UserOperationV7

Variables

addressSchema
ARBITRUM_L1_FEE_GAS_PRICE_ORACLE_ABI
CALL_DATA_EXECUTION_AT_MAX_GAS
CALL_GAS_ESTIMATION_SIMULATOR
CALL_GAS_LIMIT_BINARY_SEARCH_BYTECODE
CALL_GAS_LIMIT_OVERRIDE_VALUE
CGL_ROUNDING
DEFAULT_ENTRYPOINT_V6_SPONSORSHIP_PAYMASTER_ADDRESS
DEFAULT_ENTRYPOINT_V6_TOKEN_PAYMASTER_ADDRESS
DEFAULT_PAYMASTERS
defaultGasOverheads
ENTRYPOINT_V6_ABI
ENTRYPOINT_V6_ADDRESS
ENTRYPOINT_V6_PAYMASTER_BALANCE_STATE_DIFF_KEY
ENTRYPOINT_V7_ABI
ENTRYPOINT_V7_ADDRESS
ENTRYPOINT_V7_PAYMASTER_BALANCE_STATE_DIFF_KEY
ENTRYPOINT_V7_SIMULATIONS_ABI
ENTRYPOINT_V7_SIMULATIONS_BYTECODE
errorWithCauseSchema
errorWithNestedCauseSchema
executionResultSchema
ExecutionResultV7Schema
hexData32Pattern
hexData32Schema
hexDataSchema
hexNumberSchema
INITIAL_CGL_LOWER_BOUND
INITIAL_CGL_UPPER_BOUND
INITIAL_VGL_LOWER_BOUND
INITIAL_VGL_UPPER_BOUND
INNER_GAS_OVERHEAD
MANTLE_BVM_GAS_PRICE_ORACLE_ABI
MANTLE_BVM_GAS_PRICE_ORACLE_ADDRESS
MANTLE_L1_ROLL_UP_FEE_DIVISION_FACTOR
MAX_FEE_PER_GAS_OVERRIDE_VALUE
MAX_PRIORITY_FEE_PER_GAS_OVERRIDE_VALUE
MORPH_L1_GAS_PRICE_ORACLE_ABI
MORPH_L1_GAS_PRICE_ORACLE_ADDRESS
NODE_INTERFACE_ARBITRUM_ADDRESS
OPTIMISM_L1_GAS_PRICE_ORACLE_ABI
OPTIMISM_L1_GAS_PRICE_ORACLE_ADDRESS
packedUserOperationSchema
PRE_VERIFICATION_GAS_OVERRIDE_VALUE
SCROLL_L1_GAS_PRICE_ORACLE_ABI
SCROLL_L1_GAS_PRICE_ORACLE_ADDRESS
SIMULATION_CALL_GAS_LIMIT
SIMULATION_PRE_VERIFICATION_GAS
SIMULATION_VERIFICATION_GAS_LIMIT
supportedChains
SupportedChainSchema
userOperationV6Schema
userOperationV7Schema
VALIDATION_ERRORS
VERIFICATION_EXECUTION_AT_MAX_GAS
VERIFICATION_GAS_ESTIMATION_SIMULATOR
VERIFICATION_GAS_LIMIT_BINARY_SEARCH_BYTECODE
VERIFICATION_GAS_LIMIT_OVERRIDE_VALUE
VGL_ROUNDING

Functions

bumpBigIntPercent
calculateMappingStorageKey
cleanUpRevertReason
createEntryPoints
createGasEstimator
createRpcClient
getAccountGasLimits
getGasLimits
getInitCode
getPaymasterAndData
getRequiredPrefund
getRequiredPrefundV6
getRequiredPrefundV7
isEstimateUserOperationGasResultV6
isEstimateUserOperationGasResultV7
isExecutionResultV6
isExecutionResultV7
isUserOperationV6
isUserOperationV7
mergeChainConfig
mergeStateOverrides
packUserOpV6
packUserOpV7
toPackedUserOperation
validateUserOperation