expiration date
Gets the base macaroon from the lsat
Determine if the LSAT is expired or not. This is based on the
validUntil
property of the lsat which is evaluated at creation time
based on the macaroon and any existing expiration caveats
Determines if the lsat is valid or not depending on if there is a preimage or not
A utility for setting the preimage for an LSAT. This method will validate the preimage and throw if it is either of the incorrect length or does not match the paymentHash
32-byte hex string of the preimage that is used as proof of payment of a lightning invoice
macaroon to parse and generate relevant lsat properties from
LSAT token sent in request
Generated using TypeDoc
A a class for creating and converting LSATs