function is_blockchain_allowed(rule: rule, blockchain_rid: byte_array): boolean

Utility function which returns whether a rule allows a certain blockchain_rid as sender.

Parameters

  • rule — the rule to check
  • blockchain_rid — the blockchain sender to check
© 2024 Chromia