예제 #1
0
        public async Task <bool> SetReceiveMinumum(NanoAmount amount)
        {
            await PostActionAsync <IsSuccessResponse>(new
            {
                Action = ActionTypes.ReceiveMinimumSet,
                Amount = amount.Raw
            });

            return(true);
        }
예제 #2
0
 /// <inheritdoc />
 public async Task <BlockResponse> SendAsync(NanoWallet wallet, NanoAccount sourceAddress, NanoAccount destinationAddress, NanoAmount amount)
 {
     return(await PostActionAsync <BlockResponse>(new
     {
         Action = ActionTypes.Send,
         Wallet = wallet.Wallet,
         Source = sourceAddress.Account,
         Destination = destinationAddress.Account,
         Amount = amount.Raw
     }));
 }