{"serverInfo":{"name":"baselens","title":"BaseLens","version":"1.2.1"},"description":"Base on-chain data for agents: balances, prices, transfers, Basenames, contracts. x402 pay-per-call.","transport":{"type":"streamable-http","url":"https://baselens-api.vercel.app/mcp"},"authentication":{"required":false,"note":"No auth. Paid tools settle per call via x402 (USDC on Base) in _meta[\"x402/payment\"]."},"tools":[{"name":"base_address","description":"Base (chain 8453) address snapshot: EOA vs contract vs EIP-7702, ETH balance, nonce, code size and native USDC balance, at the latest block. Costs $0.002 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"address":{"type":"string","description":"0x-prefixed Base address"}},"required":["address"]}},{"name":"base_erc20_balance","description":"ERC-20 balance of any address for any token on Base, with symbol and decimals already applied (raw and human-readable). Costs $0.002 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"token":{"type":"string","description":"ERC-20 token contract on Base"},"address":{"type":"string","description":"0x-prefixed Base address"}},"required":["token","address"]}},{"name":"base_token","description":"Token facts on Base: name, symbol, decimals, total supply, contract code size, owner() and EIP-1967 proxy implementation, plus plain-language notes (upgradeable? owner renounced?). Read-only facts, not advice. Costs $0.003 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"token":{"type":"string","description":"Token contract on Base"}},"required":["token"]}},{"name":"base_tx","description":"Human-readable summary of a Base transaction: status, block time, from/to, value, total fee (incl. L1 fee), and decoded ERC-20 Transfer events with token symbols and amounts. Handy to verify a payment landed. Costs $0.003 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"hash":{"type":"string","description":"0x-prefixed transaction hash on Base"}},"required":["hash"]}},{"name":"base_gas","description":"Current Base gas: base fee, gas price, suggested EIP-1559 max fee and priority fee (gwei), block fullness, and cost of a plain ETH transfer. Costs $0.001 USDC on Base via x402.","inputSchema":{"type":"object","properties":{},"required":[]}},{"name":"base_name","description":"Resolve a Basename (name.base.eth) or ENS name to its Base/Ethereum address, or reverse-resolve an address to its primary ENS/Basename. Includes avatar record. Costs $0.001 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"ENS or Basename, e.g. jesse.base.eth or vitalik.eth"},"address":{"type":"string","description":"Alternative: 0x address to reverse-resolve"}},"required":[]}},{"name":"base_price","description":"On-chain USDC price of any Base ERC-20: executable Uniswap v3 quote for 1 whole token (direct USDC pool or via WETH, best fee tier). No third-party price API. Costs $0.003 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"token":{"type":"string","description":"ERC-20 token contract on Base"}},"required":["token"]}},{"name":"base_transfers","description":"Recent ERC-20 transfers in and out of an address on Base for up to 5 tokens (default USDC), newest first, over the last ~10k blocks (max 30k). Check incoming payments or wallet activity. Costs $0.004 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"address":{"type":"string","description":"0x-prefixed Base address"},"tokens":{"type":"string","description":"Optional comma-separated token contracts (max 5). Default USDC."},"blocks":{"type":"string","description":"Lookback in blocks, 100–30000 (default 10000)"},"limit":{"type":"string","description":"Max transfers to return, ≤200 (default 50)"}},"required":["address"]}},{"name":"base_contract","description":"Contract check on Base: is it a contract, code size, owner(), proxy implementation, and whether the source (and implementation) is verified on Sourcify, plus plain-language notes. Not an audit. Costs $0.003 USDC on Base via x402.","inputSchema":{"type":"object","properties":{"address":{"type":"string","description":"0x-prefixed Base address"}},"required":["address"]}},{"name":"base_free_gas_sample","description":"Free sample: latest Base block number and base fee (gwei).","inputSchema":{"type":"object","properties":{}}},{"name":"base_catalog","description":"Free: lists every BaseLens tool with price, inputs and the equivalent x402 HTTP URL.","inputSchema":{"type":"object","properties":{}}}]}