78trust / 100

Verdict

by Base Token Verdict in Onchain & crypto

x402 APIPassing, checked 1 h ago

Base token verdict for trading agents: risk level, score and flags (proxy, mint, pause, blacklist, owner, DEX liquidity on Uniswap v2/v3 and Aerodrome), each with the on-chain fact behind it. Facts and heuristics, not financial advice.

POST
https://base-facts.yankii.fr/v1/verdict
Price
$0.01
per call in USDC
Uptime
100%
last 30 days
Response time
191 ms
245 ms slowest 5%
Last check
Passed
1 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://base-facts.yankii.fr/v1/verdict

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://base-facts.yankii.fr/v1/verdict
content-type: application/json

{
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}

Parameters

ParameterTypeRequiredDescription
tokenstringYesToken contract address (0x-prefixed hex, 20 bytes)

Example response

The provider's example. We can't check it without paying.

Example response, 68 lines
{
  "blockNumber": "52136127",
  "disclaimer": "On-chain facts and heuristics read at block 52136127. Spot reserves can move within one block. Not financial advice.",
  "flags": [
    {
      "fact": "ZeppelinOS proxy: its code can be replaced; current implementation 0x2Ce6311ddAE708829bc0784C967b7d77D19FD779",
      "id": "upgradeable_proxy",
      "severity": "warn"
    },
    {
      "fact": "owner() returns 0x3ABd6f64A422225E61E435baE41db12096106df7",
      "id": "owner_not_renounced",
      "severity": "warn"
    },
    {
      "fact": "mint(address,uint256) selector found in the implementation bytecode (heuristic)",
      "id": "can_mint",
      "severity": "warn"
    },
    {
      "fact": "pause() selector found in the implementation bytecode (heuristic)",
      "id": "can_pause",
      "severity": "warn"
    },
    {
      "fact": "a blacklist selector was found in the implementation bytecode (heuristic)",
      "id": "can_blacklist",
      "severity": "high"
    },
    {
      "fact": "WETH/USDC-side reserves in Uniswap v2/v3 and Aerodrome pools: $96,907,720 (at least $1,000,000)",
      "id": "deep_liquidity",
      "severity": "info"
    }
  ],
  "level": "high",
  "liquidity": {
    "pools": [
      {
        "dex": "uniswap-v3",
        "fee": 3000,
        "pool": "0x6c561B446416E1A00E8E93E221854d6eA4171372",
        "quote": "WETH",
        "quoteReserve": "32055779596978119535815",
        "quoteReserveUsd": "86078494.19",
        "tokenReserve": "76522772029843"
      },
      {
        "dex": "uniswap-v3",
        "fee": 500,
        "pool": "0xd0b53D9277642d899DF5C87A3966A349A798F224",
        "quote": "WETH",
        "quoteReserve": "1983500656279964419661",
        "quoteReserveUsd": "5326239.19",
        "tokenReserve": "4598355794854"
      }
    ],
    "quoteLiquidityUsd": "96907719.96",
    "scope": "WETH and USDC pairs on Uniswap v2, Uniswap v3 (4 fee tiers) and Aerodrome (volatile and stable)",
    "wethPriceUsd": "2685.27"
  },
  "name": "USD Coin",
  "riskScore": 83,
  "source": "base-mainnet-rpc",
  "summary": "USDC: High-severity: can_blacklist. Warnings: upgradeable_proxy, owner_not_renounced, can_mint, can_pause. $96,907,720 of WETH/USDC-side liquidity in 7 pool(s).",
  "symbol": "USDC",
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://base-facts.yankii.fr/v1/verdict' \
  -H 'content-type: application/json' \
  --data-raw '{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://base-facts.yankii.fr/v1/verdict' \
  -H 'content-type: application/json' \
  --data-raw '{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbase-facts.yankii.fr%2Fv1%2Fverdict&method=POST
const res = await pay("https://base-facts.yankii.fr/v1/verdict", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://base-facts.yankii.fr/v1/verdict",
        json={
            "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402194 ms$0.01
6 h agoPassed402169 ms$0.01
11 h agoPassed402225 ms$0.01
15 h agoPassed402219 ms$0.01
20 h agoPassed40261 ms$0.01
Show 10 older checks
24 h agoPassed402183 ms$0.01
28 h agoPassed402213 ms$0.01
32 h agoPassed402236 ms$0.01
37 h agoPassed402203 ms$0.01
41 h agoPassed402189 ms$0.01
45 h agoPassed402245 ms$0.01
2 days agoPassed402189 ms$0.01
2 days agoPassed402208 ms$0.01
2 days agoPassed402193 ms$0.01
3 days agoPassed402196 ms$0.01