object P2SHAddress extends AddressFactory[P2SHAddress]
- Alphabetic
- By Inheritance
- P2SHAddress
- 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(hash: Sha256Hash160Digest, network: NetworkParameters): P2SHAddress
- def apply(p2shScriptPubKey: P2SHScriptPubKey, network: NetworkParameters): P2SHAddress
- def apply(scriptPubKey: ScriptPubKey, network: NetworkParameters): P2SHAddress
Creates a P2SHScriptPubKey from the given ScriptPubKey, then creates an address from that P2SHScriptPubKey
- 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 fromScriptPubKey(spk: ScriptPubKey, np: NetworkParameters): P2SHAddress
- Definition Classes
- AddressFactory
- def fromScriptPubKeyOpt(spk: ScriptPubKey, np: NetworkParameters): Option[P2SHAddress]
- Definition Classes
- AddressFactory
- def fromScriptPubKeyT(spk: ScriptPubKey, np: NetworkParameters): Try[P2SHAddress]
Attempts to create a address from the given ScriptPubKey and NetworkParameters
Attempts to create a address from the given ScriptPubKey and NetworkParameters
- Definition Classes
- P2SHAddress → AddressFactory
- def fromString(address: String): P2SHAddress
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
- P2SHAddress → StringFactory
- def fromStringOpt(string: String): Option[P2SHAddress]
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[P2SHAddress]
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
- 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): P2SHAddress
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