CHECKMULTISIG

Signatures are checked against public keys. Signatures must be placed in the unlocking script using the same order as their corresponding public keys were placed in the locking script or redeem script. If all signatures are valid, 1 is returned, 0 otherwise. All elements are removed from the stack. For more information on the execution of this opcode, see (Multisignature)https://spec.nexa.org/blockchain/cryptography/multisignature. Input: bitmap sig1 sig2 … #-of-sigs pub1 pub2 … #-of-pubkeys Output: true or false