InvocationTransaction

Interface
Runs a script in the NEO VM.
export interface InvocationTransaction extends TransactionBase { 
  readonly type: 'InvocationTransaction'; 
  readonly script: BufferString; 
  readonly gas: BigNumber; 
} 

Properties

type
'InvocationTransaction'
type distinguishes InvocationTransaction from other Transaction object types.
script
Script to execute in the NEO VM.
gas
BigNumber
GAS that has been attached to be used for the systemFee of the Transaction. All attached GAS will be consumed by this operation, regardless of if execution fails or provides too much GAS.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE