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