Notification Class
Represents the notification sent when the smart contract executes.
Namespace:Neo.SmartContract.Framework.Services
Assembly: Neo.SmartContract.Framework
Syntax#
public class Notification : IApiInterfaceProperties#
| Name | 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. |
Constructor#
Gets Notification objects from Runtime.GetNotifications(UInt160 hash = null).