estimateGas method

Future<BigInt> estimateGas(
  1. TransactionRequest transaction
)

Implementation

Future<BigInt> estimateGas(TransactionRequest transaction) async {
  if (provider == null) {
    throw 'missing provider';
  }
  return await provider!.estimateGas(transaction);
}