public ZchaClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(new Uri("https://api.zcha.in")); //When this client can't see the address it returns "null" with a status code of 404 so we just return a blank address instead //TODO: Check that this isn't just returning null for all ZEC addresses RESTClient.HttpStatusCodeFuncs.Add(HttpStatusCode.NotFound, data => { //TODO: This is just a byte array. It needs to be converted to text and probably deserialized Logger.Log($"ZEC Blockchain Error: {data}", null, LogSection); return(new Address()); }); }
public StellerClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(new Uri("https://horizon.stellar.org")); }
public BittrexClient(string apiKey, string apiSecret, IRestClientFactory restClientFactory) : base(apiKey, apiSecret, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(new Uri("https://bittrex.com/")); }
public BlockChairClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(new Uri($"https://api.blockchair.com")); Currency = currency; }
public BTCMarketsClient(string apiKey, string apiSecret, IRestClientFactory restClientFactory) : base(apiKey, apiSecret, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://api.btcmarkets.net")); }
public BlockscoutClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(new Uri("https://blockscout.com/etc/mainnet/api")); }
public CardanoExplorerBase(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(BaseAddress); }
public RippleClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://data.ripple.com")); }
public OtcgoClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://otcgo.cn")); }
public CryptopiaClient(string apiKey, string apiSecret, IRestClientFactory restClientFactory) : base(apiKey, apiSecret, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://www.cryptopia.co.nz/api")); }
public ChainSoClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(new Uri("https://chain.so")); }
public BinanceClient(string apiKey, string apiSecret, IRestClientFactory restClientFactory) : base(apiKey, apiSecret, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(new Uri("https://api.binance.com")); }
public IndependentReserveClient(string apiKey, string apiSecret, IRestClientFactory restClientFactory) : base(apiKey, apiSecret, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://api.independentreserve.com")); }
public BitfinexClient(string apiKey, string apiSecret, IRestClientFactory restClientFactory) : base(apiKey, apiSecret, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://api.bitfinex.com")); }
public CryptoCompareClient(IRestClientFactory restClientFactory) : base(restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://min-api.cryptocompare.com")); }
public EthplorerClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://api.ethplorer.io")); }
protected SomeClientBase(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri(BaseUriPath)); Currency = currency; }
public DogeChainClient(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = restClientFactory.CreateRESTClient(new Uri("https://dogechain.info")); }
protected JSONRPCClientBase(CurrencySymbol currency, IRestClientFactory restClientFactory) : base(currency, restClientFactory) { RESTClient = (RestClient)restClientFactory.CreateRESTClient(BaseUriPath); Currency = currency; }