Resolving a Domain
How to resolve content records from a domain name.
Overview
The Domain Resolution Request, a GET
request to the /domain/resolve
endpoint, is a request used retrieve the content records associated with a provided ENS domain, returning IPFS and IPNS type content, and Ethereum Wallet addresses.
For domains that are used as a wallet address alias, only an Ethereum Wallet address will be returned by a Domain Resolution Request. In instances where the domain serves content, such as a website, the Domain Resolution Request will return IPFS or IPNS content records, in addition to an Ethereum Wallet address.
Sending the Request
Sending a request to the /domain/resolve
endpoint requires a valid API Key to be provided in the x-api-key
header, and that an ENS domain name be provided.
When a Domain Resolution Request completes successfully, the returned output will contain a success message for confirmation, along with the obtained content records for IPFS/IPNS and Ethereum Wallet address details.
Last updated