NEO.GetCommittee Method ()
Gets the list of committee members.
Namespace: Neo.SmartContract.Framework.Native
Assembly: Neo.SmartContract.Framework
#
Syntaxpublic static extern string[] GetCommittee();
#
Examplepublic class Contract1 : SmartContract.Framework.SmartContract{ public static object Test() { string[] result = NEO.GetCommittee(); return result; }}
Response body:
[{ "type": "Array", "value": [{ "type": "ByteString", "value": "Auj/F8Vn1i8nT\u002BJHzIhKKmzTuP0Nd5qMWFYomlYKzKy0" }]}]
Respond description:
Array type: committee members are successfully requested.
Others: failed.