Skip to main content
Returns a SHA-384 hash of a script’s bytecode. Most commonly used to detect when a script’s source has been modified or recompiled.

Parameters

Returns

string - a 96-character hexadecimal string (48 bytes).

Example

Comparing two hashes is much cheaper than comparing the bytecode strings returned by getscriptbytecode. Good for polling loops.