Add to Blacklist

Introduction

Add to Blacklist. Adds an address to the token blacklist.

Parameters

Request Parameters:

NameTypeDescription
jsonrpcstringFixed value:2.0
methodstringMethod name. Fixed value: addToBlacklist
tokenstringToken address
nonceintNonce
recentCheckpointintBlock height
methodArgsarrayDynamic contract arguments — Arg1: address
signatureobjectSignature result

Request Example:

{
  "jsonrpc": "2.0",
  "method": "addToBlacklist",
  "params": {
    "nonce": 8,
    "token": "0x...",
    "methodArgs": [
      "0x9999999999999999999999999999999999999999"
    ],
    "recentCheckpoint": 12353,
    "signature": {
      "r": "string",
      "s": "string",
      "v": "string"
    }
  },
  "id": 1
}

Response Parameters:

NameTypeDescription
hashstringContract call hash

Response Example:

{
  "jsonrpc": "2.0",
  "result": {
    "hash": "0x..."
  },
  "id": 1
}