Is Subname Available
GET/ens/v1/subdomain/available
Checks if a username is available for a given ENS domain
Request
Query Parameters
subname stringrequired
The subname
Example: user.jan.eth
chainId numberrequired
Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)
Example: 11155111
Responses
- default
The response was fetched successfully.
- application/json
- Schema
- Example (from schema)
Schema
statusCode numberrequired
The status code of the response.
result objectrequired
data objectrequired
available booleanrequired
error stringrequired
Null if no error occurred, otherwise the error message.
{
"statusCode": 200,
"result": {
"data": {
"available": true
},
"error": "string"
}
}
Loading...