Show / Hide Table of Contents
Last modified: 2024-09-14

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();
        }
}