SmartContract

Interface
An object representing a smart contract defined by the definition property, in particular, the ABI of the definition.
export interface SmartContract<TClient extends Client = Client, TEvent extends Event<string, any> = Event> { 
  readonly definition: SmartContractDefinition; 
  readonly client: TClient; 
} 

Properties

definition
SmartContractDefinition
The SmartContractDefinition that generated this SmartContract object.
client
TClient
The underlying Client used by this SmartContract.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE