コード例 #1
0
ファイル: NanoRpcClient.cs プロジェクト: llenroc/NanoDotNet
        public async Task <bool> SetReceiveMinumum(NanoAmount amount)
        {
            await PostActionAsync <IsSuccessResponse>(new
            {
                Action = ActionTypes.ReceiveMinimumSet,
                Amount = amount.Raw
            });

            return(true);
        }
コード例 #2
0
ファイル: NanoRpcClient.cs プロジェクト: llenroc/NanoDotNet
 /// <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
     }));
 }