Version
Show / Hide Table of Contents

ExecutionEngine.ScriptContainer Property

Returns the script container of the current contract (The initial trigger). This is usually a transaction.

Namespace: Neo.SmartContract.Framework.Services.System

Assembly: Neo.SmartContract.Framework

Syntax

public static extern IScriptContainer ScriptContainer {get;}

Attribute value: ScriptContainer as a IScriptContainer. If you know the trigger is a Transaction, you can cast this into a Transaction .

Back