Gateway endpoints are available only for admins

Blacklisted accounts.

Returns the list of stopped or paused accounts.
Stopped accounts are completely blocked accounts. Paused accounts are accounts with some functions turned off temporary (e.g., registration to participate in a lot, etc.). |

Request:

  • GET /blacklist

Responses:

  • 200 OK
    {
      "data": [{
              "type": "accounts",
              "id": "GANQKCCNRPDRO6MDARLWJFVQKO6JYXGBG6CC2UKPUU5M7C5TPX4D2EN3"
          },
          {
              "type": "accounts",
              "id": "GANQKCCNRPDRO6MDARLWJFVQKO6JYXGBG6CC2UKPUU5M7C5TPX4D2EN2"
          }
      ]
    }
    

Add to blacklist.

Marks account as stopped or paused.

Field Description
id public key, account id
state account blacklist state (stopped or paused)

Request:

  • PUT /blacklist
  • Body:
    {
      "data": {
          "type": "accounts",
          "id": "GANQKCCNRPDRO6MDARLWJFVQKO6JYXGBG6CC2UKPUU5M7C5TPX4D2EN2",
          "attributes": {
              "state": "stopped"
          }
      }
    }
    

Responses:

  • 200 Created
    {
      "data": {
          "type": "accounts",
          "id": "GANQKCCNRPDRO6MDARLWJFVQKO6JYXGBG6CC2UKPUU5M7C5TPX4D2EN3",
          "attributes": {
              "state": "stopped"
          }
      }
    }
    

Unblacklist account.

Removes an account from the blacklist.

Field Description
id public key, account id

Request:

  • DELETE /blacklist/{account-id}

Responses:

  • 204: Successfully unlisted

results matching ""

    No results matching ""