Runtime.CheckWitness Method (byte[])
Verifies that the transactions / block of the calling contract has validated the required scripthashes.
Namespace: Neo.SmartContract.Framework.Services.Neo
Assembly: Neo.SmartContract.Framework
Syntax
Parameters:
hashOrPubkey: scripthash as a byte array of length 20 or public key as a byte array of length 33.
Return value: Whether if the verification has been done, boolean.