Table of Contents

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

RfqId string

The negotiation's correlation id.

Quote RfqQuote<LightningSendQuoteProfile>

The solver's quote, as accepted.

LockupAddress string

The swap contract's address, derived locally and verified.

LockupPkScript string

The contract's scriptPubKey (hex) — what to watch on-chain.

RefundAddress string

Where the covenant refund pays if the swap fails.

PaymentHash string

The invoice's payment hash (hex).

FundedSats long

What was locked up.

FundingTxid string

The Arkade transaction that funded the lockup.

Properties

FundedSats

What was locked up.

public long FundedSats { get; init; }

Property Value

long

FundingTxid

The Arkade transaction that funded the lockup.

public string FundingTxid { get; init; }

Property Value

string

LockupAddress

The swap contract's address, derived locally and verified.

public string LockupAddress { get; init; }

Property Value

string

LockupPkScript

The contract's scriptPubKey (hex) — what to watch on-chain.

public string LockupPkScript { get; init; }

Property Value

string

PaymentHash

The invoice's payment hash (hex).

public string PaymentHash { get; init; }

Property Value

string

Quote

The solver's quote, as accepted.

public RfqQuote<LightningSendQuoteProfile> Quote { get; init; }

Property Value

RfqQuote<LightningSendQuoteProfile>

RefundAddress

Where the covenant refund pays if the swap fails.

public string RefundAddress { get; init; }

Property Value

string

RfqId

The negotiation's correlation id.

public string RfqId { get; init; }

Property Value

string