Decode Script

decodescript "hexstring"

Decode a hex-encoded script, for example, decode the script for a mulitsig address:

52460396bc49812bad50949fbcdsajgdsjagdajdggjasdjgjga5d93cba3bd169b2393cd4864da4c2786dd3322fcfcb239asdyii1usgadngj5653n2377681276868


{
"asm": "2
0396c2483bbc207827fbc06fb32f48bf28450b5fb973032b742aeedd98dadcf3ba02ba529ef3455bcc4339dbd7269acc2de13
5ff65a33c706a9beef48c37ab2a95ab 2 OP_CHECKMULTISIG",
"reqSigs": 2,
"type": "multisig",
"addresses": [
"Gqw5Ds4Py6J2oBX3EKP3ky653UpnnW7eV",
"Gf3bx79fzkei5XF7h2q7sdsdsdK99u28x" ],
"p2sh": "mHa7r52cK4vdkd35jV442p3K59hk3w"
}