getProfile(name)Full ENS profile with avatar, description, linksENS SDK
JavaScript SDK for Ethereum Name Service
npm install @atv-eth/x402-sdk
ENS Features
resolve(name)Convert ENS name to Ethereum addressreverse(address)Get primary ENS name for addressgetAvatar(name)Get avatar URL (NFT, IPFS, HTTP)checkAvailable(name)Check if ENS name is availablegetRecords(name)Get all text records (email, url, etc)Quick Example
import { Web3IdentityClient } from '@atv-eth/x402-sdk';
const client = new Web3IdentityClient();
// Resolve ENS name
const profile = await client.getProfile('vitalik.eth');
console.log(profile.address); // 0xd8dA6BF...
console.log(profile.avatar); // https://...
// Check availability
const available = await client.checkAvailable('myname.eth');