Scanning
Scan a contract
You can point LENS straight at a token contract, in the extension or through the public API, and get the same verdict and red lines for whoever deployed it.
From the command line
bash
# scan a Base token contract curl "https://lens-liard.vercel.app/api/lookup?contract=0x9a3c…b7e2"
From JavaScript
javascript
const res = await fetch( `https://lens-liard.vercel.app/api/lookup?contract=${ca}` ) const { data } = await res.json() if (data.found) console.log(data.verdict, data.red_lines) else console.log('no on-chain record yet')
What comes back
json
{
"success": true,
"data": {
"found": true,
"token_symbol": "NOOK",
"verdict": "STOP",
"trust_score": 22,
"red_lines": [
{ "flag": "STOP", "label": "dev sold a prior token" },
{ "flag": "CAUTION", "label": "bundled supply" }
],
"deployer_wallet": "0x9a3c…b7e2"
}
}Every field is documented on the response schema page.