public void UseDigibyte(string connection)
        {
            var rpcDict = connection.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries)
                          .Select(part => part.Split('='))
                          .ToDictionary(split => split[0].ToLower(), split => split[1]);

            _options = new APIOptions()
            {
                BaseURL = rpcDict.ContainsKey("baseurl") ? rpcDict["baseurl"] : "https://explorer.Thaismartcontract.com/"
            };
        }
 /// <summary>
 /// A constructor of Digibyte blockchain API.
 /// </summary>
 /// <param name="options">Customized Insight-compatible API option</param>
 /// <returns>A Digibyte blockchain API provides an interface to indexed blockchain database.</returns>
 public DigibyteAPI(APIOptions options)
 {
     network = NBitcoin.Altcoins.Digibyte.Instance.Mainnet;
     client  = new HttpClient();
     client.DefaultRequestHeaders.Accept.Clear();
     client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
     client.BaseAddress = new Uri($"{options.BaseURL}");
     if (options.ThreadholdRate != 0)
     {
         ThreadholdRate = options.ThreadholdRate;
     }
     fee = 0.00001m;
     //provisionAddress = new BitcoinPubKeyAddress("D7fyCDHUo3mc9E7HykTppjuv9D6BbL8u5a", network);
 }