Skip to main content
POST
Solana Token Security
Request fields accept both camelCase and snake_case. See Request Field Names.
The Solana Token Security endpoint does not require a chain ID as it is dedicated only for the Solana network.

Response — In Progress

This endpoint is asynchronous. On a cache miss — including the first query for an address that has never been analysed — the API returns HTTP 200 immediately with no data object:
string
required
"0" — the request succeeded. This is not an error.
string
required
"in progress" — analysis is queued, no result yet.
number
required
Seconds to wait before retrying the identical request.
Branch on status, not on the HTTP code. status: "in progress" means the analysis has been queued; wait pollAfter seconds and repeat the same request. Results are cached, so subsequent queries for the same address return immediately with status: "ok". Analysis normally completes within one or two poll cycles.

Headers

X-API-KEY
string
required

Your HashDit API key

Body

application/json

Solana token mint address to analyze

address
string
required

Solana token mint address.

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

sync
boolean
default:false

When true, wait for the analysis instead of returning in progress. Increases latency; may still time out and return in progress.

Response

Successful response. On a cache miss the analysis may be queued and the body returns status: "in progress" with no data object — wait pollAfter seconds and retry the same request.

code
string

API result code. "0" indicates success.

Example:

"0"

status
string

Request status.

Example:

"ok"

data
object