MCP Ethers Wallet

resolveName

Get the address for an ENS name

Input Schema

NameRequiredDescriptionDefault
chainIdNoOptional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used.
nameYesThe ENS name to resolve
providerNoOptional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.

Input Schema (JSON Schema)

{ "properties": { "chainId": { "description": "Optional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used.", "type": "number" }, "name": { "description": "The ENS name to resolve", "type": "string" }, "provider": { "description": "Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.", "type": "string" } }, "required": [ "name" ], "type": "object" }