RawNotification

Interface
Raw notification from VM execution. Low-level API for advanced usage only.
export interface RawNotification { 
  readonly type: 'Notification'; 
  readonly scriptHash: UInt160; 
  readonly eventName: string; 
  readonly state: readonly ContractParameter[] | string; 
} 

Properties

type
'Notification'
type differentiates the RawNotification object from other RawAction objects, i.e. RawLog.
scriptHash
UInt160
The script hash of the contract that created the notification.
eventName
string
The event name of the notification.
state
readonly ContractParameter[] | string
The raw arguments of the notification.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE