Decodescript
Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample:
JSON-RPC version
1.0idstringRequiredExample:
Request identifier
decodescriptmethodstring · enumRequiredPossible values:
RPC method name
paramsstring[] · min: 1 · max: 1RequiredExample:
Parameters:
hexstring(string, required) — The script in hex format to decode.
["00141d0f172a0ecb48aee1be1f2687d2963ae33f71a1"]Responses
200
Script decoded successfully
application/json
errorobject · nullableOptional
Null if successful; contains error info otherwise
idstringOptional
Same ID as in the request
401
Unauthorized
application/json
500
Internal Server Error
application/json
post/
Last updated