object LnTaggedFields
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LnTaggedFields
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(tags: Vector[LnTag]): LnTaggedFields
- def apply(paymentHash: PaymentHashTag, descriptionOrHash: Either[DescriptionTag, DescriptionHashTag], secret: Option[SecretTag] = None, nodeId: Option[NodeIdTag] = None, expiryTime: Option[ExpiryTimeTag] = None, cltvExpiry: Option[MinFinalCltvExpiry] = None, fallbackAddress: Option[FallbackAddressTag] = None, routingInfo: Option[RoutingInfo] = None, features: Option[FeaturesTag] = None): LnTaggedFields
According to BOLT11 the required fields in a LnInvoice are a payment hash and either a description, or the hash of the description.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromUInt5s(u5s: Vector[UInt5]): LnTaggedFields
This is intended to parse all of the LnTaggedFields from the tagged part of the ln invoice.
This is intended to parse all of the LnTaggedFields from the tagged part of the ln invoice. This should only be called if other information has already been remove from the invoice like the LnHumanReadablePart
- u5s
payload of the tagged fields in the invoice
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()