Esempio n. 1
0
        private static ExplorerClient CreateNBXClient(Network network)
        {
            NBXplorerNetworkProvider provider = new NBXplorerNetworkProvider(network.ChainName);
            ExplorerClient           client   = new NBXplorer.ExplorerClient(provider.GetFromCryptoCode(network.NetworkSet.CryptoCode));

            return(client);
        }
Esempio n. 2
0
 internal NotificationSession(ExplorerClient client)
 {
     if (client == null)
     {
         throw new ArgumentNullException(nameof(client));
     }
     _Client = client;
 }
Esempio n. 3
0
 public LongPollingNotificationSession(long lastEventId, ExplorerClient client)
 {
     LastEventId = lastEventId;
     Client      = client;
 }