HttpPaymaster constructor

HttpPaymaster({
  1. required String paymasterUrl,
  2. required String paymasterAddress,
  3. Map<String, String> headers = const {},
})

Implementation

HttpPaymaster({
  required String paymasterUrl,
  required String paymasterAddress,
  Map<String, String> headers = const {},
})  : _paymasterAddress = paymasterAddress,
      _provider = RpcProvider(HttpTransport(paymasterUrl, headers: headers));