Notification Class
Represents the notification sent when the smart contract executes.
Namespace:Neo.SmartContract.Framework.Services
Assembly: Neo.SmartContract.Framework
#
Syntaxpublic class Notification : IApiInterface
#
PropertiesName | Description |
---|---|
ScriptHash | The script hash of the notification sender |
EventName | The event name of the notification |
State | The object representing the notification content, which can be of any type such as value, string, array, etc. |
#
ConstructorGets Notification objects from Runtime.GetNotifications(UInt160 hash = null).