Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: How to find multisignature transactions ?
by
nc50lc
on 05/10/2020, 02:08:11 UTC
⭐ Merited by ETFbitcoin (1)
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:
Code:
  "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