estimateUserOperationGas abstract method
- Map<
String, dynamic> userOp, - 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);