public AdminApiService(IClient client) : base(client) { ConsensusCapability = new ParityConsensusCapability(client); ListOpenedVaults = new ParityListOpenedVaults(client); ListVaults = new ParityListVaults(client); LocalTransactions = new ParityLocalTransactions(client); PendingTransactionsStats = new ParityPendingTransactionsStats(client); ReleasesInfo = new ParityReleasesInfo(client); VersionInfo = new ParityVersionInfo(client); }
public override async Task <JObject> ExecuteAsync(IClient client) { var parityVersionInfo = new ParityVersionInfo(client); return(await parityVersionInfo.SendRequestAsync()); }