Show / Hide Table of Contents

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

Attributes

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) .