Last modified: 2024-09-14
Runtime.CheckWitness Method
Verifies that the transactions / block of the calling contract has validated the required script hashes.
Namespace: Neo.SmartContract.Framework.Services
Assembly: Neo.SmartContract.Framework
Syntax
Parameters:
-
hash: script hash
-
Pubkey: public key as a byte array of length 33.
Return value: Whether if the verification has been done, boolean.