Scripts
Get Script by Hash
Retrieve the raw script (i.e. full resolved script) associated to a given script hash digest.
<sup><strong>NOTE</strong></sup> <br/>
Raw scripts aren't exact pre-image of their hash digest. Before hashing, scripts are prefixed with a certain discriminator byte depending on the language. For instance, any native script is prefixed with 00 before hashing.
Here's a table summarizing all discriminators:
Language Discriminator Byte native 00 plutus:v1 01 plutus:v2 02
get/scripts/{script-hash}
Path parameters
script_hashstring required
Example:3097...9ded
A script blake2b-224 hash digest of a script.
Response
OK