Packages

object ScriptType extends StringFactory[ScriptType]

The different Bitcoin Script type variations

See also

standard.h and standarc.cpp from Bitcoin Core

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptType
  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def fromString(string: String): ScriptType

    Throws if given string is invalid

    Throws if given string is invalid

    Definition Classes
    ScriptTypeStringFactory
  10. def fromStringOpt(string: String): Option[ScriptType]

    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
    ScriptTypeStringFactory
  11. def fromStringT(string: String): Try[ScriptType]

    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
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. case object CLTV extends ScriptType with Product with Serializable
  24. case object CSV extends ScriptType with Product with Serializable
  25. case object MULTISIG extends ScriptType with Product with Serializable
  26. case object MULTISIG_WITH_TIMEOUT extends ScriptType with Product with Serializable
  27. case object NONSTANDARD extends ScriptType with Product with Serializable
  28. case object NONSTANDARD_IF_CONDITIONAL extends ScriptType with Product with Serializable
  29. case object NOT_IF_CONDITIONAL extends ScriptType with Product with Serializable
  30. case object NULLDATA extends ScriptType with Product with Serializable

    unspendable OP_RETURN script that carries data

  31. case object PUBKEY extends ScriptType with Product with Serializable
  32. case object PUBKEYHASH extends ScriptType with Product with Serializable
  33. case object PUBKEY_WITH_TIMEOUT extends ScriptType with Product with Serializable
  34. case object SCRIPTHASH extends ScriptType with Product with Serializable
  35. case object WITNESS_COMMITMENT extends ScriptType with Product with Serializable
  36. case object WITNESS_UNKNOWN extends ScriptType with Product with Serializable

    Only for Witness versions not already defined

  37. case object WITNESS_V0_KEYHASH extends ScriptType with Product with Serializable
  38. case object WITNESS_V0_SCRIPTHASH extends ScriptType with Product with Serializable
  39. case object WITNESS_V1_TAPROOT extends ScriptType with Product with Serializable

Inherited from StringFactory[ScriptType]

Inherited from AnyRef

Inherited from Any

Ungrouped