BlockFilter

Interface
Filter that specifies (optionally) a block index to start at and (optionally) a block index to end at.
export interface BlockFilter { 
  readonly indexStart?: number; 
  readonly indexStop?: number; 
} 

Properties

indexStart
number
The inclusive start index for the first block to include. Leaving undefined means start from the beginning of the blockchain, i.e. index 0.
indexStop
number
The exclusive end index for the block to start at. Leaving undefined means continue indefinitely, waiting for new blocks to come in.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE