80trust / 100

Token Check

by Text Tools API in Onchain & crypto

x402 APIPassing, checked 3 h ago

Base token check: send an ERC-20 contract address on Base and get verifiable on-chain facts as JSON (name, supply, owner and whether ownership is renounced, upgradeable proxy, verified source, privileged-function hints such as mint/pause/blacklist, WETH/USDC liquidity on Uniswap V2/V3 and Aerodrome) plus risk flags and a short plain-language summary. Facts only, not financial advice. Does not check holder distribution or simulate trades.

POST https://2-28-111-166.sslip.io/v1/token-check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
38 ms typical, 38 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://2-28-111-166.sslip.io/v1/token-check" \
  -H "content-type: application/json" \
  -d '{"address":"0x532f27101965dd16442E59d40670FaF5eBB142E4"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2F2-28-111-166.sslip.io%2Fv1%2Ftoken-check
const res = await pay("https://2-28-111-166.sslip.io/v1/token-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0x532f27101965dd16442E59d40670FaF5eBB142E4"}),
});
console.log(await res.json());

Example input

{
  "address": "0x532f27101965dd16442E59d40670FaF5eBB142E4"
}

Example output

{
  "address": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
  "burned_percent_of_supply": 0.0001,
  "chain": "base",
  "decimals": 18,
  "disclaimer": "On-chain facts only. Not financial advice.",
  "eth_usd": 2560.2,
  "flags": [
    {
      "code": "trading_switch_function",
      "text": "A function to switch trading on or off was found."
    }
  ],
  "function_hints": {
    "blacklist": false,
    "fees": false,
    "limits": false,
    "mint": false,
    "pause": false,
    "trading_switch": true
  },
  "is_upgradeable_proxy": false,
  "liquidity_usd": 851234.5,
  "name": "Brett",
  "not_checked": [
    "holder distribution",
    "buy/sell tax simulation (honeypot test)",
    "liquidity lock",
    "pools on other exchanges or paired with other tokens"
  ],
  "owner": null,
  "owner_percent_of_supply": null,
  "owner_renounced": true,
  "pools": [
    {
      "address": "0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02",
      "dex": "aerodrome_slipstream",
      "quote": "WETH",
      "quote_amount": 152.3,
      "quote_usd": 389918.5,
      "token_percent_of_supply": 0.88
    }
  ],
  "source_verified": true,
  "summary": "Brett is a verified, non-upgradeable token whose ownership has been renounced ...",
  "symbol": "BRETT",
  "total_supply": "9999997544.72"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40238 ms$0.01