ArchethicTransactionSender constructor

ArchethicTransactionSender({
  1. required ApiService apiService,
})

Implementation

ArchethicTransactionSender({
  required this.apiService,
}) {
  phoenixHttpEndpoint = '${apiService.endpoint}/socket/websocket';
  websocketEndpoint =
      "${apiService.endpoint.replaceAll('https:', 'wss:').replaceAll('http:', 'ws:')}/socket/websocket";
}