Class FundedLightningSend
- Namespace
- NArk.ArkadeIntents.Lightning
- Assembly
- NArk.ArkadeIntents.dll
The outcome of funding a Lightning swap: everything needed to watch and account for it.
public sealed record FundedLightningSend : IEquatable<FundedLightningSend>
- Inheritance
-
FundedLightningSend
- Implements
- Inherited Members
Constructors
FundedLightningSend(string, RfqQuote<LightningSendQuoteProfile>, string, string, string, string, long, string)
The outcome of funding a Lightning swap: everything needed to watch and account for it.
public FundedLightningSend(string RfqId, RfqQuote<LightningSendQuoteProfile> Quote, string LockupAddress, string LockupPkScript, string RefundAddress, string PaymentHash, long FundedSats, string FundingTxid)
Parameters
RfqIdstringThe negotiation's correlation id.
QuoteRfqQuote<LightningSendQuoteProfile>The solver's quote, as accepted.
LockupAddressstringThe swap contract's address, derived locally and verified.
LockupPkScriptstringThe contract's scriptPubKey (hex) — what to watch on-chain.
RefundAddressstringWhere the covenant refund pays if the swap fails.
PaymentHashstringThe invoice's payment hash (hex).
FundedSatslongWhat was locked up.
FundingTxidstringThe Arkade transaction that funded the lockup.
Properties
FundedSats
What was locked up.
public long FundedSats { get; init; }
Property Value
FundingTxid
The Arkade transaction that funded the lockup.
public string FundingTxid { get; init; }
Property Value
LockupAddress
The swap contract's address, derived locally and verified.
public string LockupAddress { get; init; }
Property Value
LockupPkScript
The contract's scriptPubKey (hex) — what to watch on-chain.
public string LockupPkScript { get; init; }
Property Value
PaymentHash
The invoice's payment hash (hex).
public string PaymentHash { get; init; }
Property Value
Quote
The solver's quote, as accepted.
public RfqQuote<LightningSendQuoteProfile> Quote { get; init; }
Property Value
RefundAddress
Where the covenant refund pays if the swap fails.
public string RefundAddress { get; init; }
Property Value
RfqId
The negotiation's correlation id.
public string RfqId { get; init; }