Base token safety check
base_token_checkBase token safety check for one ERC-20 contract: proxy/upgradeable, owner and whether it is renounced, mint, blacklist, pause, fee/tax and limit switches found in the bytecode, DEX liquidity, pair age and 24 h buys/sells, risk flags, a 0-100 score and a grade A-F. Paid per call. Price: 10 sats or US$0.01 (USDC) per call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>"
},
"name": "base_token_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| l402 | No | Optional. After paying the Lightning invoice: '<token>:<preimage>'. | |
| pass | No | Optional. A Diamond budget token (dp_...) that your user approved once (from US$0.89; USDC or other Base tokens, or Lightning) or that you funded with the free diamond_budget tool. Each call deducts its price; no wallet needed in the agent. | |
| token | Yes | ERC-20 token contract address on Base (0x + 40 hex characters) | |
| pay_with | No | Optional. 'lightning' requests a BOLT11 invoice and a token when Diamond can receive Lightning payments. |