Skip to content

UserOperationGas

Utility functions and types for working with ERC-4337 User Operation Gas.

Functions

NameDescription
UserOperationGas.fromRpcConverts an UserOperationGas.Rpc to an UserOperationGas.UserOperationGas.
UserOperationGas.toRpcConverts a UserOperationGas.UserOperationGas to a UserOperationGas.Rpc.

Types

NameDescription
UserOperationGas.RpcRPC User Operation Gas on EntryPoint 0.6
UserOperationGas.RpcV06RPC User Operation Gas on EntryPoint 0.6
UserOperationGas.RpcV07RPC User Operation Gas on EntryPoint 0.7
UserOperationGas.UserOperationGasUser Operation Gas type.
UserOperationGas.V06Type for User Operation Gas on EntryPoint 0.6
UserOperationGas.V07Type for User Operation Gas on EntryPoint 0.7