lookup_address
Find the ENS name associated with a blockchain address using the Alchemy MCP Plugin. Input an address to retrieve its corresponding Ethereum Name Service identifier.
Instructions
Lookup the ENS name for an address
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The address to lookup |
Implementation Reference
- index.ts:906-919 (registration)Registration of the lookup_address tool in the ListToolsRequestSchema handler. Defines the tool name, description, and input schema.{ name: "lookup_address", description: "Lookup the ENS name for an address", inputSchema: { type: "object", properties: { address: { type: "string", description: "The address to lookup", }, }, required: ["address"], }, },
- index.ts:91-91 (schema)Type definition for the input parameters of the lookup_address tool.type LookupAddressParams = { address: string };
- index.ts:332-338 (helper)Helper function to validate if arguments match LookupAddressParams type for the lookup_address tool.const isValidLookupAddressParams = (args: any): args is LookupAddressParams => { return ( typeof args === "object" && args !== null && typeof args.address === "string" ); };