/// <summary> /// Initializes a new instance of the <see cref="SiriusClient" /> class. /// </summary> /// <param name="host">The network host</param> public SiriusClient(string host = @"http://localhost:3000") { Host = host; NetworkHttp = new NetworkHttp(host); AccountHttp = new AccountHttp(host, NetworkHttp); BlockHttp = new BlockHttp(host, NetworkHttp); ChainHttp = new ChainHttp(host, NetworkHttp); MetadataHttp = new MetadataHttp(host, NetworkHttp); MosaicHttp = new MosaicHttp(host, NetworkHttp); NamespaceHttp = new NamespaceHttp(host, NetworkHttp); TransactionHttp = new TransactionHttp(host, NetworkHttp); NodeHttp = new NodeHttp(host, NetworkHttp); }
public ChainHttpTests() { _chainHttp = new ChainHttp(BaseUrl); }