Packages

object Bech32mAddress extends AddressFactory[Bech32mAddress]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bech32mAddress
  2. AddressFactory
  3. StringFactory
  4. AnyRef
  5. 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. def apply(networkParameters: NetworkParameters, data: Vector[UInt5]): Bech32mAddress
  5. def apply(witSPK: WitnessScriptPubKey, networkParameters: NetworkParameters): Bech32mAddress
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def createChecksum(hrp: BtcHumanReadablePart, bytes: Vector[UInt5]): Vector[UInt5]

    Returns a base 5 checksum as specified by BIP173

  9. def empty(network: NetworkParameters = MainNet): Bech32mAddress
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def fromScriptPubKey(spk: ScriptPubKey, np: NetworkParameters): Bech32mAddress
    Definition Classes
    AddressFactory
  14. def fromScriptPubKeyOpt(spk: ScriptPubKey, np: NetworkParameters): Option[Bech32mAddress]
    Definition Classes
    AddressFactory
  15. def fromScriptPubKeyT(spk: ScriptPubKey, np: NetworkParameters): Try[Bech32mAddress]

    Attempts to create a address from the given ScriptPubKey and NetworkParameters

    Attempts to create a address from the given ScriptPubKey and NetworkParameters

    Definition Classes
    Bech32mAddressAddressFactory
  16. def fromString(bech32mStr: String): Bech32mAddress

    Decodes bech32 string to the HumanReadablePart & data part

    Decodes bech32 string to the HumanReadablePart & data part

    Definition Classes
    Bech32mAddressStringFactory
  17. def fromStringOpt(string: String): Option[Bech32mAddress]

    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
  18. def fromStringT(string: String): Try[Bech32mAddress]

    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
  19. def fromStringToWitSPK(string: String): Try[WitnessScriptPubKey]

    Tries to convert the given string a to a WitnessScriptPubKey

  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isValid(str: String): Boolean

    Checks if the given string is a valid address

    Checks if the given string is a valid address

    Definition Classes
    AddressFactory
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def fromStringExn(str: String): Bech32mAddress

    Same as fromString, but throws the exception

    Same as fromString, but throws the exception

    Definition Classes
    AddressFactory
    Annotations
    @deprecated
    Deprecated

    (Since version 2020-08-24) Use fromString() instead

Inherited from AnyRef

Inherited from Any

Ungrouped