wait method

Future wait([
  1. int? confirms
])

Implementation

Future<dynamic> wait([int? confirms]) async {
  return TransactionReceipt._(
    await promiseToFuture<dynamic>(callMethod(
      this.impl,
      'wait',
      confirms != null ? [confirms] : [],
    )),
  );
}