Script

getscripthash

Returns a hash of a given script.

Syntax

getscripthash(script: BaseScript): string