Class FundedOnchainSend
- Namespace
- NArk.ArkadeIntents.Onchain
- Assembly
- NArk.ArkadeIntents.dll
The result of funding an off-board's Arkade side.
public sealed record FundedOnchainSend : IEquatable<FundedOnchainSend>
- Inheritance
-
FundedOnchainSend
- Implements
- Inherited Members
Constructors
FundedOnchainSend(string, RfqQuote<OnchainSendQuoteProfile>, string, string, string, string, long, string)
The result of funding an off-board's Arkade side.
public FundedOnchainSend(string RfqId, RfqQuote<OnchainSendQuoteProfile> Quote, string LockupAddress, string LockupPkScript, string HtlcAddress, string PaymentHash, long FundedSats, string FundingTxid)
Parameters
RfqIdstringThe negotiation, and the swap's id.
QuoteRfqQuote<OnchainSendQuoteProfile>The terms funded against.
LockupAddressstringThe Arkade covenant the client funded.
LockupPkScriptstringThat covenant's scriptPubKey, hex — the script to watch for the solver's claim. Carried for the reason FundedLightningSend carries it: the address is for showing a person, and every lookup that follows a funded swap keys on the script.
HtlcAddressstringThe L1 address the solver must fund, and the client then claims.
PaymentHashstringThe hash both legs turn on.
FundedSatslongWhat left the Arkade balance.
FundingTxidstringThe Arkade spend that funded the lockup.
Properties
FundedSats
What left the Arkade balance.
public long FundedSats { get; init; }
Property Value
FundingTxid
The Arkade spend that funded the lockup.
public string FundingTxid { get; init; }
Property Value
HtlcAddress
The L1 address the solver must fund, and the client then claims.
public string HtlcAddress { get; init; }
Property Value
LockupAddress
The Arkade covenant the client funded.
public string LockupAddress { get; init; }
Property Value
LockupPkScript
That covenant's scriptPubKey, hex — the script to watch for the solver's claim. Carried for the reason FundedLightningSend carries it: the address is for showing a person, and every lookup that follows a funded swap keys on the script.
public string LockupPkScript { get; init; }
Property Value
PaymentHash
The hash both legs turn on.
public string PaymentHash { get; init; }
Property Value
Quote
The terms funded against.
public RfqQuote<OnchainSendQuoteProfile> Quote { get; init; }
Property Value
RfqId
The negotiation, and the swap's id.
public string RfqId { get; init; }