estimateUserOperationGas abstract method

Future<UserOperationGas> estimateUserOperationGas(
  1. Map<String, dynamic> userOp,
  2. EthereumAddress entrypoint
)

Estimates the gas cost for a user operation.

  • userOp: The user operation.
  • entrypoint: The entrypoint address through which the operation should pass.

Returns a Future that completes with a UserOperationGas object.

Implementation

Future<UserOperationGas> estimateUserOperationGas(
    Map<String, dynamic> userOp, EthereumAddress entrypoint);