Check Fraud Blacklist
check_blacklistCheck Ethereum wallets for fraud reports. Verify reputation and view detailed report counts before transacting to assess address risks.
Instructions
Check if a wallet has any fraud reports filed against it.
PAID endpoint — requires x402 payment ($0.05 USD).
Args:
wallet (string): Ethereum wallet address to check
Returns: { wallet, reported, reportCount, reports[] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Ethereum wallet address (e.g. 0xAbC...123) |
Implementation Reference
- src/tools.ts:224-257 (handler)The handler function and registration for the 'check_blacklist' tool. It takes a wallet address, makes an API request to '/v1/data/fraud/blacklist', and returns JSON with wallet blacklist status, report count, and detailed reports.
// 5. check_blacklist ──────────────────────────────────────────────── server.registerTool( "check_blacklist", { title: "Check Fraud Blacklist", description: `Check if a wallet has any fraud reports filed against it. PAID endpoint — requires x402 payment ($0.05 USD). Args: - wallet (string): Ethereum wallet address to check Returns: { wallet, reported, reportCount, reports[] }`, inputSchema: { wallet: WalletSchema }, annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true, }, }, async ({ wallet }) => { try { const data = await apiRequest<BlacklistResponse>({ path: "/v1/data/fraud/blacklist", params: { wallet }, }); return ok(JSON.stringify(data, null, 2)); } catch (error) { return err(error); } } ); - src/tools.ts:24-27 (schema)The WalletSchema Zod validation schema used for the check_blacklist tool input. Validates Ethereum wallet addresses with regex pattern requiring 0x prefix and 40 hex characters.
const WalletSchema = z .string() .regex(/^0x[a-fA-F0-9]{40}$/, "Must be a valid Ethereum address (0x + 40 hex chars)") .describe("Ethereum wallet address (e.g. 0xAbC...123)"); - src/types.ts:123-133 (schema)The TypeScript interface BlacklistResponse defining the output structure for the check_blacklist tool, including wallet, reported status, report count, and detailed reports array.
export interface BlacklistResponse { wallet: string; reported: boolean; reportCount?: number; reports?: Array<{ reportId: string; reason?: string; txHashes?: string[]; createdAt: string; }>; } - src/tools.ts:225-226 (registration)The tool registration point where 'check_blacklist' is registered with the MCP server using server.registerTool().
server.registerTool( "check_blacklist",