Contract

Interface
Attributes of a deployed smart contract.
export interface Contract { 
  readonly id: number; 
  readonly script: BufferString; 
  readonly hash: UInt160Hex; 
  readonly manifest: ContractManifest; 
} 

Properties

id
number
The Contracts ID.
script
BufferString
Contract code.
hash
UInt160Hex
The Contract's script hash.
manifest
The Contract's manifest.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitter
COPYRIGHT © 2021 NEO•ONE