Gets the list of committee members.
Namespace: Neo.SmartContract.Framework.Native
Assembly: Neo.SmartContract.Framework
public static extern string[] GetCommittee();
public 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.
Back