Show / Hide Table of Contents
Last modified: Sat Sep 14 14:32:03 2024 +0800

GAS.TotalSupply Method

Gets the total supply of GAS.

Namespace: Neo.SmartContract.Framework.Native

Assembly: Neo.SmartContract.Framework

Syntax

public static extern BigInteger TotalSupply();

Example

public class Contract1 : SmartContract.Framework.SmartContract
{
    public static object Test()
    {
        BigInteger result = GAS.TotalSupply();
        return result;
    }
}

Back