Runtime Class
Provides a set of methods during smart contract execution.
Namespace: Neo.SmartContract.Framework.Services.Neo
Assembly:Neo.SmartContract.Framework
Syntax
Attributes
Name | Description |
---|---|
Time | Gets the time stamp of the current block |
Trigger | Gets the trigger type for the smart contract (verification contract or application contract). |
Method
Name | Description |
---|---|
CheckWitness(byte[]) | Verifies that the transactions / block of the calling contract has validated the required script hashes. |
Log(string) | Sends a log message to the client executing the smart contract. |
Notify(params object[]) | Sends a notification to the client executing the smart contract. |
Constructor
The Runtime class is a static class and does not require a constructor.