public ClientTest(ITestOutputHelper testOutputHelper) { _testOutputHelper = testOutputHelper; Client = new AElfClient(BaseUrl); // To get address from privateKey.s _address = Client.GetAddressFromPrivateKey(PrivateKey); }
public async Task GetCurrentRoundInformationAsync_Test() { var webAppService = new AElfClient(BaseUrl, 60); var roundDto = await webAppService.GetCurrentRoundInformationAsync(); roundDto.ShouldNotBeNull(); var currentRoundInformation = JsonConvert.SerializeObject(roundDto); _testOutputHelper.WriteLine(currentRoundInformation); }