You need to extract the script of each transaction, then check whether it uses operator such as
OP_CHECKMULTISIG and
OP_CHECKMULTISIGVERIFYSee
https://bitcoin.stackexchange.com/a/71869 if you're confused how to interpret the script.
Example with transaction
78c93aaa2f7fbcf08c528a0dcb691393e50446d71eef30ac5baa0183df33a5b9 with input address 3FuqMT3VeyRhB917aiJUeWSn2jRt4M3hw8
1. Get raw transaction
Command :
getrawtransaction 78c93aaa2f7fbcf08c528a0dcb691393e50446d71eef30ac5baa0183df33a5b9
2. Decode raw transaction
Command :
decoderawtransaction 0200000001ac1408fc8b58a2f1962611b3c52688d3c4e77321bdd2890275c3b9b2e025501000000000fd8901004730440220576976125dfb46f9d617f41b1d8f3c666ae1107610ad910a627cb3eaf18705fc0220219e462d580eb66bf3d4d4d2fbd7f0164d340d23ddf90b82f858b2d3f0ce66bb01473044022001c668407ebcfcea5c5eb406090c2946f6a91bd9881501e834924c2c4e8f588002207f12bdefe185390f28673b95da88b48222fb681c3b1f45083cde814a416e866a01483045022100db620adb2687098ab9961780a76782ccb0241e75882218ff3be8bb99de09fe3502206c929b3cb1c4f289619f9a6cde83caa41a33d2de230d74c11903b48a5fa3bc03014cad532102002a57268073cbc5472d35d8f8fae2c52825241592f53e53ae516913d8c82bd121026c1061b95ccfc52594c9b376382e2f0240a523b3b1dc5db6a9cdd9730a4a0c2121029e8c3ae6c0516df4075089ab9475c9335985569ac0f3b9f1a4b0d946785937cd2102c6a7c72de9221cba7029f1b920a86bb84997d9c91a2e4428b1397cba669dd3162103ba7c7d7b8d2379de450441445c30a638c555305cbe044abb88f10643d9621bf055aefdffffff0190aef5050000000017a9145aff956682d511d872eed2fa91971efa9d9fd95b87022f0900
The output :
{
"txid": "78c93aaa2f7fbcf08c528a0dcb691393e50446d71eef30ac5baa0183df33a5b9",
"hash": "78c93aaa2f7fbcf08c528a0dcb691393e50446d71eef30ac5baa0183df33a5b9",
"version": 2,
"size": 478,
"vsize": 478,
"weight": 1912,
"locktime": 601858,
"vin": [
{
"txid": "105025e0b2b9c3750289d2bd2173e7c4d38826c5b3112696f1a2588bfc0814ac",
"vout": 0,
"scriptSig": {
"asm": "0 30440220576976125dfb46f9d617f41b1d8f3c666ae1107610ad910a627cb3eaf18705fc0220219e462d580eb66bf3d4d4d2fbd7f0164d340d23ddf90b82f858b2d3f0ce66bb[ALL] 3044022001c668407ebcfcea5c5eb406090c2946f6a91bd9881501e834924c2c4e8f588002207f12bdefe185390f28673b95da88b48222fb681c3b1f45083cde814a416e866a[ALL] 3045022100db620adb2687098ab9961780a76782ccb0241e75882218ff3be8bb99de09fe3502206c929b3cb1c4f289619f9a6cde83caa41a33d2de230d74c11903b48a5fa3bc03[ALL] 532102002a57268073cbc5472d35d8f8fae2c52825241592f53e53ae516913d8c82bd121026c1061b95ccfc52594c9b376382e2f0240a523b3b1dc5db6a9cdd9730a4a0c2121029e8c3ae6c0516df4075089ab9475c9335985569ac0f3b9f1a4b0d946785937cd2102c6a7c72de9221cba7029f1b920a86bb84997d9c91a2e4428b1397cba669dd3162103ba7c7d7b8d2379de450441445c30a638c555305cbe044abb88f10643d9621bf055ae",
"hex": "004730440220576976125dfb46f9d617f41b1d8f3c666ae1107610ad910a627cb3eaf18705fc0220219e462d580eb66bf3d4d4d2fbd7f0164d340d23ddf90b82f858b2d3f0ce66bb01473044022001c668407ebcfcea5c5eb406090c2946f6a91bd9881501e834924c2c4e8f588002207f12bdefe185390f28673b95da88b48222fb681c3b1f45083cde814a416e866a01483045022100db620adb2687098ab9961780a76782ccb0241e75882218ff3be8bb99de09fe3502206c929b3cb1c4f289619f9a6cde83caa41a33d2de230d74c11903b48a5fa3bc03014cad532102002a57268073cbc5472d35d8f8fae2c52825241592f53e53ae516913d8c82bd121026c1061b95ccfc52594c9b376382e2f0240a523b3b1dc5db6a9cdd9730a4a0c2121029e8c3ae6c0516df4075089ab9475c9335985569ac0f3b9f1a4b0d946785937cd2102c6a7c72de9221cba7029f1b920a86bb84997d9c91a2e4428b1397cba669dd3162103ba7c7d7b8d2379de450441445c30a638c555305cbe044abb88f10643d9621bf055ae"
},
"sequence": 4294967293
}
],
"vout": [
{
"value": 0.99987088,
"n": 0,
"scriptPubKey": {
"asm": "OP_HASH160 5aff956682d511d872eed2fa91971efa9d9fd95b OP_EQUAL",
"hex": "a9145aff956682d511d872eed2fa91971efa9d9fd95b87",
"reqSigs": 1,
"type": "scripthash",
"addresses": [
"39zAv4u6QBSmUAttAUP6bLvENRMZuNAJaP"
]
}
}
]
}
3. Decode the script from vin -> scriptsig -> asm. Only take hex script after last "[ALL]"
Command :
decodescript 532102002a57268073cbc5472d35d8f8fae2c52825241592f53e53ae516913d8c82bd121026c1061b95ccfc52594c9b376382e2f0240a523b3b1dc5db6a9cdd9730a4a0c2121029e8c3ae6c0516df4075089ab9475c9335985569ac0f3b9f1a4b0d946785937cd2102c6a7c72de9221cba7029f1b920a86bb84997d9c91a2e4428b1397cba669dd3162103ba7c7d7b8d2379de450441445c30a638c555305cbe044abb88f10643d9621bf055ae
The output :
{
"asm": "3 02002a57268073cbc5472d35d8f8fae2c52825241592f53e53ae516913d8c82bd1 026c1061b95ccfc52594c9b376382e2f0240a523b3b1dc5db6a9cdd9730a4a0c21 029e8c3ae6c0516df4075089ab9475c9335985569ac0f3b9f1a4b0d946785937cd 02c6a7c72de9221cba7029f1b920a86bb84997d9c91a2e4428b1397cba669dd316 03ba7c7d7b8d2379de450441445c30a638c555305cbe044abb88f10643d9621bf0 5 OP_CHECKMULTISIG",
"reqSigs": 3,
"type": "multisig",
"addresses": [
"1LqxDSWQLcg3nKvmWNAGoADMPzswHpLcKj",
"1NTkRiGiZP1FoSb6JkraMH4TyoKG3WMXzT",
"1D7Wmurjy264dpZK8LdJ1xc3f6ALAcNJAx",
"1HapYFsTiZBdXe1L1hegv11yM3apJWxZui",
"1Fdhk674u3WejXsJmpxsyQss5VMvYd8j87"
],
"p2sh": "3FuqMT3VeyRhB917aiJUeWSn2jRt4M3hw8",
"segwit": {
"asm": "0 259ea6036131f75feb83db7882dfd5a91fb9bcebb270e3c2f68991c54a64b2dc",
"hex": "0020259ea6036131f75feb83db7882dfd5a91fb9bcebb270e3c2f68991c54a64b2dc",
"reqSigs": 1,
"type": "witness_v0_scripthash",
"addresses": [
"bc1qyk02vqmpx8m4l6urmdug9h744y0mn08tkfcw8shk3xgu2jnyktwqnxdsjq"
],
"p2sh-segwit": "389rC5x48fCbcmsWirjyGorUsS4mf7Ldwx"
}
}
From the output, we can see it uses 3-of-5 multisignature and it matched with information from
https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html. CMIIW.