Commit 9dcc87fe authored by Sergei Zubov's avatar Sergei Zubov

Fix newaddress request

parent 8b4a2c48
using System.ComponentModel.DataAnnotations;
namespace Stratis.Bitcoin.Features.Wallet.Models
{
public class GetNewAddressModel : RequestModel
{
/// <summary>
/// The name of the wallet from which to get the address.
/// </summary>
[Required]
public string WalletName { get; set; }
/// <summary>
/// The name of the account for which to get the address.
/// </summary>
[Required]
public string AccountName { get; set; }
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment