mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
22 lines
528 B
C#
22 lines
528 B
C#
using Newtonsoft.Json;
|
|
using WalletWasabi.Affiliation.Serialization;
|
|
using WalletWasabi.Affiliation.Models.CoinjoinRequest;
|
|
|
|
namespace WalletWasabi.Affiliation.Models;
|
|
|
|
public record GetCoinjoinRequestRequest
|
|
{
|
|
public GetCoinjoinRequestRequest(Body body, byte[] signature)
|
|
{
|
|
Body = body;
|
|
Signature = signature;
|
|
}
|
|
|
|
[JsonProperty(PropertyName = "signature")]
|
|
[JsonConverter(typeof(AffiliationByteArrayJsonConverter))]
|
|
public byte[] Signature { get; }
|
|
|
|
[JsonProperty(PropertyName = "body")]
|
|
public Body Body { get; }
|
|
}
|