eth_estimateUserOperationGas

Estimates the gas values for a UserOperation.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
UserOperationobjectRequired

The UserOperation object (v0.6 or v0.7) with optional gas fields.

Entrypoint addressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

The entrypoint address through which the operation is sent.

Response

Gas values estimated for the UserOperation.

entrypointV06ResponseobjectOptional
entrypointV07ResponseobjectOptional