Decode a hex-encoded script.
hexstringstringREQUIREDcurl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"decodescript","params":["hex"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/{
"asm": "OP_DUP OP_HASH160 ... OP_EQUALVERIFY OP_CHECKSIG",
"type": "pubkeyhash",
"address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"p2sh": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
}