public async Task <Transaction> GetTransaction(string tx) { if (Client == null) { throw new NullReferenceException("Client not configured"); } if (string.IsNullOrEmpty(tx)) { throw new ArgumentNullException(nameof(tx)); } var neoGetRawTransaction = new NeoGetRawTransaction(Client); return(await neoGetRawTransaction.SendRequestAsync(tx)); }
public override async Task <Transaction> ExecuteAsync(IClient client) { var rawTransaction = new NeoGetRawTransaction(client); return(await rawTransaction.SendRequestAsync("f4250dab094c38d8265acc15c366dc508d2e14bf5699e12d9df26577ed74d657")); // todo move to settings }