Class Offer
- Namespace
- NArk.ArkadeIntents.Assets
- Assembly
- NArk.ArkadeIntents.dll
An Arkade standing order — the maker's terms for a non-interactive covenant swap. Travels inside
the funding tx as an Extension packet (Services.OfferCodec.OfferPacketType) so the
solver can discover and fill it from the txid alone. Mirrors the arkade wallet's Offer.
public sealed class Offer
- Inheritance
-
Offer
- Inherited Members
Properties
EmulatorPubkey
Covenant co-signer (emulator) x-only key (32 bytes).
public required byte[] EmulatorPubkey { get; set; }
Property Value
- byte[]
ExitDelay
The maker's unilateral exit delay. When set, the covenant carries a third leaf spendable by the maker alone once it matures — the only path needing neither solver nor server.
public Sequence? ExitDelay { get; set; }
Property Value
- Sequence?
MakerPkScript
Maker's taproot scriptPubKey (34 bytes) — where the fill must pay.
public required byte[] MakerPkScript { get; set; }
Property Value
- byte[]
MakerPublicKey
Maker's x-only key (32 bytes) — the cancel path's user signer.
public required byte[] MakerPublicKey { get; set; }
Property Value
- byte[]
OfferAsset
The asset the maker deposits (asset→BTC). Null when depositing BTC.
public AssetId? OfferAsset { get; set; }
Property Value
RatioDen
Partial-fill denominator. Set with RatioNum or not at all.
public ulong? RatioDen { get; set; }
Property Value
RatioNum
Partial-fill numerator. Set with RatioDen or not at all.
public ulong? RatioNum { get; set; }
Property Value
SwapPkScript
The scriptPubKey of the swap covenant contract (computed from the other fields + the server key).
public required byte[] SwapPkScript { get; set; }
Property Value
- byte[]
WantAmount
Amount the maker wants — asset units when wanting an asset, sats when wanting BTC.
public required long WantAmount { get; set; }
Property Value
WantAsset
The asset the maker wants (BTC→asset). Null when wanting BTC.
public AssetId? WantAsset { get; set; }