FUNCTION

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().

Parameters

  • pubkey — the public key to check

Returns

true if the given public key is found, or false if the public key is not found or there is no operation context

Since

0.10.4

© 2026 Chromia