GET
/
v1
/
generic
/
ens
Typescript (SDK)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await compassApiSDK.universal.genericEns({});

  console.log(result);
}

run();
{
  "wallet_address": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
  "registrant": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45"
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:ethereum
required
Available options:
ethereum
ens_name
string
default:vitalik.eth

The ENS name to resolve.

Response

200
application/json

Successful Response

Response model for ENS name details.