estimateGas method

Future<BigInt> estimateGas(
  1. CallRequest request
)

Estimates gas for a transaction.

Implementation

Future<BigInt> estimateGas(CallRequest request) async {
  return provider.estimateGas(request.toJson());
}