NEO.TotalSupply Method
Gets the total supply of NEO.
Namespace: Neo.SmartContract.Framework.Native
Assembly: Neo.SmartContract.Framework
#
Syntaxpublic static extern BigInteger TotalSupply();
#
Examplepublic class Contract1 : SmartContract.Framework.SmartContract{ public static object Test() { BigInteger result = NEO.TotalSupply(); return result; }}
Response body:
{ "Type":"Integer", "value":"100000000"}
Response description:
Integer type: token total supply is successfully requested.
Others: failed.