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
PacketstringWhat travels as the receive profile's
claim_packet: base64 ofephPub(33) || nonce(12) || ciphertext.Preimagebyte[]The secret itself. Never leaves the client.
PaymentHashstringsha256(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
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
Preimage
The secret itself. Never leaves the client.
public byte[] Preimage { get; init; }
Property Value
- byte[]