Initializes a new instance of the ScriptPubkey class.
The hash of an Ed25519 verification key.
Private
#keyPrivate
#originalGets the hash of a verification key.
The hash of a Ed25519 verification key.
Sets the hash of a verification key.
The hash of an Ed25519 verification key.
Creates a Core ScriptPubkey object from the current ScriptPubkey object.
The Core RequireSignatureScript object.
Static
fromDeserializes the ScriptPubkey from a CBOR byte array.
The new ScriptPubkey instance.
The CBOR encoded ScriptPubkey object.
Static
fromCreates a ScriptPubkey object from the given Core RequireSignatureScript object.
The core RequireSignatureScript object.
Generated using TypeDoc
This script evaluates to true if the transaction also includes a valid key witness where the witness verification key hashes to the given hash.
In other words, this checks that the transaction is signed by a particular key, identified by its verification key hash.