⚡ Private API access, no rate limits, unlimited number of requests & more just for $50!

coins coins coins coins
zen

Horizen (ZEN)

Method: POST decodescript

dropdown
POST

decodescript

Decode a hex-encoded script.

Parameters

hexstring - string, required

the hex-encoded script

Request

curl --location --request POST 'https://zen.getblock.io/mainnet/' \ 
--header 'x-api-key: YOUR-API-KEY' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "decodescript",
"params": ["hexstring"],
"id": "getblock.io"}'


Response

null