Skip to main content

Notification Class

Represents the notification sent when the smart contract executes.

Namespace:Neo.SmartContract.Framework.Services

Assembly: Neo.SmartContract.Framework

Syntax#

public class Notification : IApiInterface

Properties#

NameDescription
ScriptHashThe script hash of the notification sender
EventNameThe event name of the notification
StateThe 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).