Skip to main content
POST
/
v2
/
hashdit
/
address-poisoning
curl --request POST \
  --url https://service.hashdit.io/v2/hashdit/address-poisoning \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
{
  "chainId": "56",
  "userAddress": "0x938915fd4b7c188a211113ed655ae2218c334146",
  "address": "0x0000000000000000000000000000000000000000",
  "tokenAddress": "0x0000000000000000000000000000000000000000"
}
'
{
  "code": "0",
  "status": "ok",
  "pollAfter": null,
  "data": {
    "target_address": {
      "is_poisoning": "0",
      "mimics_user": "0"
    },
    "token_address": {
      "is_poisoning": "0",
      "mimics_top_token": "0",
      "matched_token": ""
    },
    "user_address_input": "0x938915fd4b7c188a21ad73ed655ae1f18c334146",
    "target_address_input": "0x0000000000000000000000000000000000000000",
    "token_address_input": "0x0000000000000000000000000000000000000000"
  },
  "property": null
}

Headers

X-API-Key
string
required

Your HashDit API key

Body

application/json

Address and token context for poisoning analysis

chainId
string
required

The network chain ID. See Supported Chains for a complete list of supported networks.

Example:

"56"

userAddress
string
required

User's own wallet address (hex format).

Example:

"0x938915fd4b7c188a211113ed655ae2218c334146"

address
string
required

Target address to be analyzed (hex format).

Example:

"0x938915fd4b7c188a21ad73ed655ae1f18c334146"

tokenAddress
string
required

Token contract address involved (hex format).

Example:

"0x55d39f326f99059ff775485246999027b3197956"

Response

Successful response

code
string

Response code. 0 indicates success.

Example:

"0"

status
string

Response status. ok indicates successful operation.

Example:

"ok"

pollAfter
object

Reserved for future use.

data
object
property
object

Reserved for future use.