InvokeReceipt

Interface
The receipt for a smart contract method invocation.
export interface InvokeReceipt<TReturn extends Return = Return, TEvent extends Event<string, any> = Event> 
  extends TransactionReceipt { 
  readonly result: InvocationResult<TReturn>; 
  readonly events: readonly TEvent[]; 
  readonly logs: readonly Log[]; 
  readonly raw: RawInvokeReceipt; 
} 

Properties

result
InvocationResult<TReturn>
The result of the invocation.
events
readonly TEvent[]
The events emitted by the smart contract during the invocation.
logs
readonly Log[]
The logs emitted by the smart contract during the invocation.
raw
The original, unprocessed, raw invoke receipt. The RawInvokeReceipt is transformed into this object (the InvokeReceipt) using the ContractABI to parse out the Events and InvocationResult.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE