public async Task GetMethodTestAsync() { await _substrateClient.ConnectAsync(); var result = await _substrateClient.GetMethodAsync <string>("system_name"); Assert.AreEqual("Substrate Node", result); await _substrateClient.CloseAsync(); }
public async Task GetMethodSystemNameTestAsync() { await _substrateClient.ConnectAsync(); var result = await _substrateClient.GetMethodAsync <string>("system_name"); Assert.AreEqual("Parity Polkadot", result); await _substrateClient.CloseAsync(); }
public async Task GetMethodChainNameTestAsync() { await _substrateClient.ConnectAsync(); var result = await _substrateClient.GetMethodAsync <string>("system_chain"); Assert.AreEqual("Development", result); await _substrateClient.CloseAsync(); }