Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ENSv2 is live. Read the migration guide
Metadata for discovery and filtering.
getFilteredSubnames
await client.addDataRecord( 'alice.example.eth', 'membership-tier', 'pro', );
subname
key
data
await client.deleteDataRecord('alice.example.eth', 'membership-tier');
const allMetadata = await client.getDataRecords('alice.example.eth'); // Returns: Record<string, unknown>
{ "token-holder": "1200", "segment": "pro" }
const response = await client.getDataRecord( 'alice.example.eth', 'membership-tier', ); const data = response.record; // 'pro'
interface GetRecordResponse { record: string; }
Was this page helpful?