Table of Contents

Class SealedClaimPacket

Namespace
NArk.ArkadeIntents.Lightning
Assembly
NArk.ArkadeIntents.dll

A sealed preimage and the two values that go with it.

public sealed record SealedClaimPacket : IEquatable<SealedClaimPacket>
Inheritance
SealedClaimPacket
Implements
Inherited Members

Constructors

SealedClaimPacket(string, byte[], string)

A sealed preimage and the two values that go with it.

public SealedClaimPacket(string Packet, byte[] Preimage, string PaymentHash)

Parameters

Packet string

What travels as the receive profile's claim_packet: base64 of ephPub(33) || nonce(12) || ciphertext.

Preimage byte[]

The secret itself. Never leaves the client.

PaymentHash string

sha256(preimage) as hex — what the quote is requested against, and what the solver mints its hold invoice for.

Properties

Packet

What travels as the receive profile's claim_packet: base64 of ephPub(33) || nonce(12) || ciphertext.

public string Packet { get; init; }

Property Value

string

PaymentHash

sha256(preimage) as hex — what the quote is requested against, and what the solver mints its hold invoice for.

public string PaymentHash { get; init; }

Property Value

string

Preimage

The secret itself. Never leaves the client.

public byte[] Preimage { get; init; }

Property Value

byte[]