Exemple #1
0
        public async Task SendToAddress_Should_Success()
        {
            for (int i = 0; i < 10; i++)
            {
                var txid = await _nodeApi.SendToAddressAsync("s1hheqmvMe29QQrVid8wZaKys5DpW13wTG7", 1m);

                Console.WriteLine(txid);
            }
        }
 public async Task ExecuteAsync(RewardType rewardType, string targetAddress)
 {
     await _nodeApi.SendToAddressAsync(targetAddress, _amountHelper.GetAmount(rewardType));
 }