Greenfield: Can set the label when generating a wallet for store (#6186)

This commit is contained in:
Nicolas Dorier
2024-09-02 18:54:15 +09:00
committed by GitHub
parent 4a94074595
commit 1c027be106
5 changed files with 26 additions and 18 deletions

View File

@@ -10,6 +10,7 @@ namespace BTCPayServer.Client
{
public class GenerateOnChainWalletRequest
{
public string Label { get; set; }
public int AccountNumber { get; set; } = 0;
[JsonConverter(typeof(MnemonicJsonConverter))]
public Mnemonic ExistingMnemonic { get; set; }
@@ -29,6 +30,7 @@ namespace BTCPayServer.Client
{
public class ConfigData
{
public string Label { get; set; }
public string AccountDerivation { get; set; }
[JsonExtensionData]
IDictionary<string, JToken> AdditionalData { get; set; }