POSTdecodescript
https://bitcoin-mainnet.nodit.io/Decodes a hex-encoded script and returns it as a JSON object. It lets you inspect the output type, the corresponding address, and the addresses of the P2SH and SegWit wrappings.
It contains following parameter:
hexstring: The script to decode, as a hex string. (required)
The hex string of the script to decode.
Disassembly of the script.
Inferred descriptor for the script.
The output type. Returns one of nonstandard, anchor, pubkey, pubkeyhash, scripthash, multisig, nulldata,
witness_v0_scripthash, witness_v0_keyhash, witness_v1_taproot or witness_unknown.
The Bitcoin address for the script. Returned only when a well-defined address exists.
The address of the P2SH script wrapping this redeem script. Not returned for types that should not be wrapped.
Disassembly of the output script.
The raw output script bytes, hex-encoded.
The type of the output script.
The corresponding Bitcoin address. Returned only when a well-defined address exists.
Inferred descriptor for the script.
The address of the P2SH script wrapping this witness redeem script.