Skip to main content
GET
Synchronous endpoint Analyze one target address through query parameters. This GET variant supports the single-address request only; use Address Poisoning — Batch for multiple targets or tokens.
All verdict flags are the strings "0" and "1", not booleans. Compare a flag with "1"; the string "0" is truthy in JavaScript.

Quick Start

Include user_address whenever the connected wallet is available. It enables the classic address-poisoning check against lookalike transaction-history entries.

Request Fields

string
required
Your HashDit API key. Missing or invalid keys return HTTP 401. Keep the key on a trusted server.
string
required
Network identifier, such as "56", or a supported non-EVM alias.
string
required
Target address to analyze.
string
Connected wallet address used for the lookalike comparison.
string
Token contract to compare with well-known tokens on the same chain.

Response Fields

string
required
"0" indicates that the request completed successfully.
string
required
"ok" for a completed request.
object
required
Detection result for the requested target address.
object
required
Token impersonation result, or an empty object when no token address was supplied.
string
required
Normalized echo of the requested target address.
string
required
Normalized echo of user_address, or an empty string when omitted.
string
required
Normalized echo of token_address, or an empty string when omitted.

How to Use the Response

  • Branch on data.target_address.is_poisoning; it is the aggregate target verdict.
  • Use mimics_user and mimics_exchange to explain why a warning was shown.
  • user_address enables the classic poisoning comparison. If omitted, mimics_user remains "0".
  • "0" means no configured signal was detected. It is not a guarantee that an address is safe.
  • If token_address was not requested, data.token_address may be an empty object.

Errors and Retry Guidance