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 sendAssets = new NeoSendToAddress(client); return(await sendAssets.SendRequestAsync(Settings.GetGoverningAssetHash(), Settings.GetAddress(), 1)); }