public NeoApiTransactionService(IClient client) : base(client)
 {
     GetRawTransaction    = new NeoGetRawTransaction(client);
     SendRawTransaction   = new NeoSendRawTransaction(client);
     GetTransactionOutput = new NeoGetTransactionOutput(client);
     SendAssets           = new NeoSendAssets(client);
 }
Пример #2
0
        public override async Task <Transaction> ExecuteAsync(IClient client)
        {
            var sendAssets = new NeoSendAssets(client);

            return(await sendAssets.SendRequestAsync(Settings.GetGoverningAssetHash(), Settings.GetAddress(), 1));
        }