Skip to main content

getBlockedAccounts Method

Returns the blocked accounts.

Contract#

PolicyContract

Example#

Request content:

var result = Contract.Call(policyHash, "getBlockedAccounts", 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: account address is successfully requested.

  • Others: failed.