Table of Contents

Class LightningSendProfile

Namespace
NArk.ArkadeIntents.Rfq.Profiles.Lightning
Assembly
NArk.ArkadeIntents.dll

The arkade:BTC->lightning:BTC profile: pay a BOLT11 out of an Arkade balance.

public static class LightningSendProfile
Inheritance
LightningSendProfile
Inherited Members

Remarks

One of several corridor profiles the RFQ envelope can carry — the negotiation layer itself knows nothing about Lightning, which is why everything invoice-shaped lives here rather than there.

Fields

Pair

The pair this profile negotiates.

public const string Pair = "arkade:BTC->lightning:BTC"

Field Value

string

Methods

Request(string, string, string, string?)

Build a send-leg request. A BOLT11 profile is always exact-out and omits the amount, so the invoice alone fixes what the solver must pay.

public static RfqRequest<LightningSendRequestProfile> Request(string invoice, string refundAddress, string clientRefundPubkey, string? rfqId = null)

Parameters

invoice string

The BOLT11 to be paid.

refundAddress string

The client's own Arkade refund address.

clientRefundPubkey string

The client's own x-only key (hex) for the covenant's client-side refund leaves. Keep the matching private key: it is the only recourse that depends on nobody else.

rfqId string

The correlation id; a fresh one is generated when omitted.

Returns

RfqRequest<LightningSendRequestProfile>

The request payload, ready for a transport.