Skip to main content

Get Subnames Reserved to an Address

GET 

/ens/v1/subdomain/invitations

Retrieves all subnames reserved to an address

Request

Query Parameters

    address stringrequired

    The address of the subdomain

    Example: 0xb965a5f3a0fC18D84E68883ccAd508445a7917A8
    chainId numberrequired

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

    Example: 11155111
    coinType number

    The coin type of the address

    Example: 60
    ensDomains string[]

    Array of ensDomains to filter the subnames by

    Example: [jan.eth]

Responses

The Subname was fetched successfully.

Schema
    statusCode numberrequired

    The status code of the response.

    result objectrequired
    data objectrequired
    id stringrequired
    username stringrequired
    data objectrequired
    id stringrequired
    contentHash stringrequired
    addresses string[]required
    textRecords string[]required
    subdomainId stringrequired
    ensId stringrequired
    subname stringrequired
    isClaimed booleanrequired
    claimedAt date-timerequired
    error stringrequired

    Null if no error occurred, otherwise the error message.

Loading...