get-ens-name
Retrieve the primary ENS name associated with a specific blockchain address using MetaMask MCP, enabling secure interaction with Ethereum Name Service (ENS) records.
Instructions
Fetch the primary ENS name for address.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | Address to get the name for. | |
blockNumber | No | Block number to get name at. | |
chainId | No | ID of chain to use when fetching data. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"address": {
"description": "Address to get the name for.",
"type": "string"
},
"blockNumber": {
"description": "Block number to get name at.",
"format": "int64",
"type": "integer"
},
"chainId": {
"description": "ID of chain to use when fetching data.",
"type": "number"
}
},
"required": [
"address"
],
"type": "object"
}