getValidators Method
Returns current validators.
#
ContractNeoToken
#
ExampleRequest content:
var result = Contract.Call(neoHash, "getValidators", new object[] { });
Respond content:
{ "type": "Array", "value": [{ "type": "Struct", "value": [{ "type": "ByteString", "value": "AkuBfvN/L8PUoz/jZoflktnzD\u002BJLPigYfcjxKzs7K4Oe" }, { "type": "Integer", "value": "0" }] }]}
Respond description:
Array type: current validators are successfully requested.
Others: failed.