COINS
Loading coins
NEWS
Loading news
← All Build APIs

TOKEN CHECKS / DEVELOPER BETA

Solana token checks: mint authority, freeze authority and routes

Show useful token flags before a swap: mint authority, freeze authority and a quoted buy/sell path.

Built for token discovery tools, wallet interfaces and trading bots.

YOUR APP / POWERED BY ATTN
TOKEN SNAPSHOTIllustration
Example tokenSolana mint · sample flags
Mint authority Disabled
Freeze authority Disabled
Buy / sell routes Quote paths

Explain the signals. A clear flag is not a safety guarantee.

Know what the token can do.

POST /api/contract-audit
Interactive illustration · sample values, no live quote or transaction.

Authority flags from the chain

Read whether a mint or freeze authority is active, together with mint precision and supply.

Buy and sell route checks

Compare Jupiter quotes for a round trip at a stated test amount. The calculation uses quotes; it does not trade.

Signals your interface can explain

Show the underlying flags, warnings and calculation method alongside the heuristic score. Keep uncertainty visible.

MAKE A REAL REQUEST

Inspect the flags for a token.

Live beta demo. Availability depends on the configured providers and their rate limits.

Reads the mint and requests quotes. This check never trades.

INTEGRATE

POST /api/contract-audit

cURL · Request example
curl "https://www.attn.money/api/contract-audit" \
  -H "Content-Type: application/json" \
  -d '{"tokenAddress":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","testAmountSol":0.1,"slippageBps":100}'

JSON request body

Request parameters
ParameterRequiredMeaning
tokenAddressRequiredValid Solana token mint address.
testAmountSolOptionalDefault 0.1 SOL; bounded to 0.01–2 SOL. This is quote size, not money spent.
slippageBpsOptionalDefault 100; bounded to 25–2000 basis points.

HANDLE THE RESPONSE

Use the fields. Keep the context.

audit.mintAuthority / freezeAuthority
Active flag and authority address when present.
audit.mintData
Decimals and raw supply; unknown values remain null.
audit.taxDetection
Buy/sell route flags, quoted round-trip loss and the estimated-tax heuristic.
audit.safetyScore / riskLevel
Heuristic outputs derived from the listed inputs, not a guarantee that a token is safe.
audit.metadata / warnings
Method, quote size, slippage tolerance, timestamp and explanatory warnings.
400 · Invalid input

Check addresses, amounts and request fields before retrying.

429 · Rate limited

Back off and retry within your confirmed API limits.

Provider failure

Handle non-success responses explicitly. Never present missing data as a completed check or swap.

THE INTEGRATION

Before you integrate

Turn raw fields into context your users can understand.

Illustrated preview
No live transaction
A token check returns authority flags and quote-based routing signals for your app to explain. Signals are not a safety guarantee.
Does POST /api/contract-audit submit a transaction?

No. Despite the legacy endpoint name, it reads a mint account and requests quotes. It does not sign or submit a transaction.

Can I call this a security audit?

No. It checks a limited set of authority and routing signals. Display the inputs and limitations rather than presenting a score as a safety guarantee.

What happens when a provider is unavailable?

Handle the non-success response and allow a retry. Do not replace a failed or missing check with a zero-risk result.

PILOT ACCESS

Start small. Confirm the costs.

Pilot target: $2 per 1,000 successful checks, starting with a $10 prepaid budget after onboarding. This is proposed pricing; paid access, quotas and billing are confirmed before activation.

Paid access is not self-serve yet. Request a confirmed pilot before paying or sending production traffic.