/// <summary> /// Use specified PoWProvider and the specified node /// </summary> /// <param name="powProvider">The PoW Provider</param> /// <param name="nodeUrl">Node Url</param> public NodeRestClient(IPowProvider powProvider, string nodeUrl) { PowProvider = powProvider; NodeUrl = nodeUrl; }
/// <summary> /// Use specified PoWProvider and default node (https://chrysalis-nodes.iota.org) /// </summary> /// <param name="powProvider"> /// The PoW Provider /// </param> public NodeRestClient(IPowProvider powProvider) : this(powProvider, "https://chrysalis-nodes.iota.org") { }