is_signer

function is_signer(pubkey: byte_array): boolean

Check if a given public key is a signer of the current transaction; i.e. if it's in the list of signers returned by op_context.get_signers().

Return

true if the given public key is found, false otherwise

Since

0.10.4

Parameters

pubkey

the public key to check