object Bech32Address extends AddressFactory[Bech32Address]
- Alphabetic
- By Inheritance
- Bech32Address
- AddressFactory
- StringFactory
- AnyRef
- Any
- Hide All
- Show All
- 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(networkParameters: NetworkParameters, data: Vector[UInt5]): Bech32Address
- def apply(witSPK: WitnessScriptPubKey, networkParameters: NetworkParameters): Bech32Address
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createChecksum(hrp: BtcHumanReadablePart, bytes: Vector[UInt5]): Vector[UInt5]
Returns a base 5 checksum as specified by BIP173
- def empty(network: NetworkParameters = MainNet): Bech32Address
- 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 fromScriptPubKey(spk: ScriptPubKey, np: NetworkParameters): Bech32Address
- Definition Classes
- AddressFactory
- def fromScriptPubKeyOpt(spk: ScriptPubKey, np: NetworkParameters): Option[Bech32Address]
- Definition Classes
- AddressFactory
- def fromScriptPubKeyT(spk: ScriptPubKey, np: NetworkParameters): Try[Bech32Address]
Attempts to create a address from the given ScriptPubKey and NetworkParameters
Attempts to create a address from the given ScriptPubKey and NetworkParameters
- Definition Classes
- Bech32Address → AddressFactory
- def fromString(bech32Str: String): Bech32Address
Decodes bech32 string to the HumanReadablePart & data part
Decodes bech32 string to the HumanReadablePart & data part
- Definition Classes
- Bech32Address → StringFactory
- def fromStringOpt(string: String): Option[Bech32Address]
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
- def fromStringT(string: String): Try[Bech32Address]
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
- def fromStringToWitSPK(string: String): Try[WitnessScriptPubKeyV0]
Tries to convert the given string a to a WitnessScriptPubKey
- 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
- 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
- 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()
Deprecated Value Members
- def fromStringExn(str: String): Bech32Address
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