This API allows users to retrieve domain and address records for a given domain or Ethereum address.
GET <https://omniapi.zkns.app/domain-resolver/getRecord/:domain>
| Parameter | Description |
|---|---|
:domain |
The domain to retrieve the record for. |
The response will be a JSON object containing the wallet address.
GET <https://omniapi.zkns.app/domain-resolver/getReverseRecord/:address>
| Parameter | Description |
|---|---|
:address |
The Ethereum/EVM Chains‘ address to retrieve the reverse record for. |
The response will be a JSON object containing the primary domain name of this wallet address.