public CreateBtcTransactionRequest(IEnumerable <TransactionAddress> inputs, IEnumerable <TransactionAddress> outputs, Fee fee)
 {
     foreach (var input in inputs)
     {
         Inputs.Add(new TransactionItem(input.Address, input.Value));
     }
     foreach (var output in outputs)
     {
         Outputs.Add(new TransactionItem(output.Address, output.Value));
     }
     Fee = new FeeRequest(fee.Value, fee.Address);
 }
        public NewHdBtcTransactionRequest(string walletName, string password,
                                          IEnumerable <TransactionAddress> inputs, IEnumerable <TransactionAddress> outputs, Fee fee, long locktime)
        {
            foreach (var input in inputs)
            {
                Inputs.Add(new TransactionItem(input.Address, input.Value));
            }

            foreach (var output in outputs)
            {
                Outputs.Add(new TransactionItem(output.Address, output.Value));
            }

            WalletName = walletName;
            Password   = password;
            Fee        = new FeeRequest(fee.Value, fee.Address);
            Locktime   = locktime;
        }
 public CreateTx(Fee fee)
 {
     Fee = new FeeRequest(fee.Value, fee.Address);
 }