decodescript

This RPC Method decodes a hex-encoded script into a JSON object.

post

JSON RPC - decodescript

Authorizations
Body
methodstring · enumRequiredPossible values:
Responses
200

Default Response

application/json
post
POST /v2/rpc/bitcoin/decodescript HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "method": "decodescript",
  "params": []
}
200

Default Response

{
  "result": null,
  "error": null,
  "id": null
}

Last updated