Skip to main content

Get by Address

GET 

/ens/v1/primary-name/address

Retrieves primary name for a given address

Request

Query Parameters

    address stringrequired

    The address of the primary name

    Example: 0xb965a5f3a0fC18D84E68883ccAd508445a7917A8
    chainId numberrequired

    Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)

    Example: 11155111

Responses

The primary name was fetched successfully.

Schema
    statusCode numberrequired

    The status code of the response.

    result objectrequired
    data objectrequired
    id stringrequired
    name stringrequired
    address stringrequired
    nameHash stringrequired
    chainId numberrequired
    error stringrequired

    Null if no error occurred, otherwise the error message.

Loading...