Is it possible to decode also outputs in this way to check that it is multisig address ?
No, you can only tell by the input.
A P2SH-multisig output will look like any other P2SH: HASH160 of the redeem script.
Example, use the "
vout" of the decoded transaction in ETFbitcoin's post:
"vout": [
{
"value": 0.99987088,
"n": 0,
"scriptPubKey": {
"asm": "OP_HASH160 5aff956682d511d872eed2fa91971efa9d9fd95b OP_EQUAL",
"hex": "a9145aff956682d511d872eed2fa91971efa9d9fd95b87",
"reqSigs": 1,
"type": "scripthash",
"addresses": [
"39zAv4u6QBSmUAttAUP6bLvENRMZuNAJaP"
P2SH outputs will look like:
OP_HASH160 RIPEMD-160(SHA256(RedeemScript)) OP_EQUAL