private static ExplorerClient CreateNBXClient(Network network) { NBXplorerNetworkProvider provider = new NBXplorerNetworkProvider(network.ChainName); ExplorerClient client = new NBXplorer.ExplorerClient(provider.GetFromCryptoCode(network.NetworkSet.CryptoCode)); return(client); }
internal NotificationSession(ExplorerClient client) { if (client == null) { throw new ArgumentNullException(nameof(client)); } _Client = client; }
public LongPollingNotificationSession(long lastEventId, ExplorerClient client) { LastEventId = lastEventId; Client = client; }