Packages

object LnInvoice extends StringFactory[LnInvoice]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LnInvoice
  2. StringFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MAX_TIMESTAMP: BigInt
  5. val MAX_TIMESTAMP_U64: UInt64
  6. def apply(hrp: LnHumanReadablePart, timestamp: UInt64, lnTags: LnTaggedFields, privateKey: ECPrivateKey): LnInvoice
  7. def apply(hrp: LnHumanReadablePart, timestamp: UInt64, lnTags: LnTaggedFields, signature: LnInvoiceSignature): LnInvoice
  8. def apply(hrp: LnHumanReadablePart, data: Vector[UInt5]): LnInvoice
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def build(hrp: LnHumanReadablePart, lnTags: LnTaggedFields, privateKey: ECPrivateKey): LnInvoice

    The easiest way to create a LnInvoice is by just passing the given parameters and and then build will create a LnInvoice with a valid LnInvoiceSignature

    The easiest way to create a LnInvoice is by just passing the given parameters and and then build will create a LnInvoice with a valid LnInvoiceSignature

    hrp

    the LnHumanReadablePart

    lnTags

    the various tags in the invoice

    privateKey

    \- the key used to sign the invoice

  11. def build(hrp: LnHumanReadablePart, timestamp: UInt64, lnTags: LnTaggedFields, privateKey: ECPrivateKey): LnInvoice

    The easiest way to create a LnInvoice is by just passing the given pareameters and and then build will create a LnInvoice with a valid LnInvoiceSignature

    The easiest way to create a LnInvoice is by just passing the given pareameters and and then build will create a LnInvoice with a valid LnInvoiceSignature

    hrp

    the LnHumanReadablePart

    timestamp

    the timestamp on the invoice

    lnTags

    the various tags in the invoice

    privateKey

    \- the key used to sign the invoice

  12. def buildLnInvoiceSignature(hrp: LnHumanReadablePart, timestamp: UInt64, lnTags: LnTaggedFields, privateKey: ECPrivateKey): LnInvoiceSignature
  13. def buildSigHashData(hrp: LnHumanReadablePart, timestamp: UInt64, lnTags: LnTaggedFields): Sha256Digest
  14. def buildSignatureData(hrp: LnHumanReadablePart, timestamp: UInt64, lnTags: LnTaggedFields): ByteVector
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. def createChecksum(hrp: LnHumanReadablePart, data: Vector[UInt5]): Vector[UInt5]
  17. def decodeTimestamp(u5s: Vector[UInt5]): UInt64
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def fromString(bech32String: String): LnInvoice

    Tries to parse a string to type t, throws an exception if fails

    Tries to parse a string to type t, throws an exception if fails

    Definition Classes
    LnInvoiceStringFactory
  22. def fromStringOpt(string: String): Option[LnInvoice]

    Treis to parse a string to type t, returns None if failure

    Treis to parse a string to type t, returns None if failure

    Definition Classes
    StringFactory
  23. def fromStringT(string: String): Try[LnInvoice]

    Tries to parse string to type t, returns scala.util.Failure if the fails

    Tries to parse string to type t, returns scala.util.Failure if the fails

    Definition Classes
    StringFactory
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hrpExpand(lnHumanReadablePart: LnHumanReadablePart): Vector[UInt5]
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def verifyChecksum(hrp: LnHumanReadablePart, u5s: Seq[UInt5]): Boolean
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from StringFactory[LnInvoice]

Inherited from AnyRef

Inherited from Any

Ungrouped