Show / Hide Table of Contents

Contract.GetCallFlags Method

Gets the call privilege of the contract.

Namespace: Neo.SmartContract.Framework.Services

Assembly: Neo.SmartContract.Framework

Syntax

public static extern byte GetCallFlags();

Example

public class Contract1 : SmartContract.Framework.SmartContract
{
        public static int GetCallFlags()
        {
            return Contract.GetCallFlags();
        }
}