Class AssetSwapMetadata
- Namespace
- NArk.ArkadeIntents.Models
- Assembly
- NArk.ArkadeIntents.dll
What an Arkade BTC↔asset swap keeps beyond the fields every corridor has.
public sealed record AssetSwapMetadata : IEquatable<AssetSwapMetadata>
- Inheritance
-
AssetSwapMetadata
- Implements
- Inherited Members
Constructors
AssetSwapMetadata(string, string?)
What an Arkade BTC↔asset swap keeps beyond the fields every corridor has.
public AssetSwapMetadata(string OfferHex, string? MakerDescriptor)
Parameters
OfferHexstringHex-encoded offer TLV — the only way back to the covenant for a cancel.
MakerDescriptorstringThe maker's signing descriptor. The offer carries only the x-only key, which is enough for the address but not enough to sign, so the spendable form is kept locally or the cancel cannot be built.
Properties
MakerDescriptor
The maker's signing descriptor. The offer carries only the x-only key, which is enough for the address but not enough to sign, so the spendable form is kept locally or the cancel cannot be built.
public string? MakerDescriptor { get; init; }
Property Value
OfferHex
Hex-encoded offer TLV — the only way back to the covenant for a cancel.
public string OfferHex { get; init; }