MethodToken

Interface
A token that represents the method that a contract will call statically.
export interface MethodToken { 
  readonly hash: string; 
  readonly method: string; 
  readonly paramCount: number; 
  readonly hasReturnValue: boolean; 
  readonly callFlags: CallFlags; 
} 

Properties

hash
string
The hash of the contract to be called.
method
string
The name of the method to be called.
paramCount
number
The number of parameters that the method expects.
hasReturnValue
boolean
Indicates if the method to be called has a return value.
callFlags
CallFlags
The CallFlags to be used to call the contract.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE