Interface RequireSignatureScript

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.

interface RequireSignatureScript {
    keyHash: string;
    kind: RequireSignature;
    type: Native;
}

Properties

Properties

keyHash: string

The hash of a verification key.

The native script kind.

type: Native

Script type.