public NeoApiTransactionService(IClient client) : base(client) { GetApplicationLog = new NeoGetApplicationLog(client); GetRawTransaction = new NeoGetRawTransaction(client); GetRawTransactionSerialized = new NeoGetRawTransactionSerialized(client); SendRawTransaction = new NeoSendRawTransaction(client); GetTransactionOutput = new NeoGetTransactionOutput(client); SendToAddress = new NeoSendToAddress(client); SendMany = new NeoSendMany(client); SendFrom = new NeoSendFrom(client); }
public override async Task <DTOs.Transaction> ExecuteAsync(IClient client) { var sendFrom = new NeoSendFrom(client); return(await sendFrom.SendRequestAsync(Settings.GetGoverningAssetHash(), "FROM_ADDRESS_HERE", "TO_ADDRESS_HERE", 1)); }