RawActionBase

Interface
Base properties of Events and Logs as well as their raw counterparts, RawNotification and RawLog, respectively.
export interface RawActionBase { 
  readonly source: 'Block' | 'Transaction'; 
  readonly version: number; 
  readonly blockIndex: number; 
  readonly blockHash: Hash256String; 
  readonly transactionIndex: number; 
  readonly transactionHash: Hash256String; 
  readonly index: number; 
  readonly globalIndex: BigNumber; 
  readonly address: AddressString; 
} 

Properties

source
'Block' | 'Transaction'
Indicates whether the action was produced by a Transaction or a Block.
version
number
NEO network version number.
blockIndex
number
Index of the block this action was emitted in.
blockHash
Hash of the block this action was emitted in.
transactionIndex
number
Index of the transaction within the block this action was emitted in.
transactionHash
Hash of the transaction within the block this action was emitted in.
index
number
Ordered index of the action of when it occurred within the transaction.
globalIndex
BigNumber
Ordered globally unique index of the action.
address
Address of the smart contract that this action occurred in.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE