Skip to main content
Text records store public profile details such as a display name, website, avatar, or social handle. Do not store secrets in text records.
These methods allow you to manage text records for a given ENS subname. You can fetch, add, update, or delete individual records.

Add or update a text record

Add or update a text record.
Parameters:
  • subname - Full ENS subname
  • key - Text record key (e.g., “description”)
  • value - Value to associate with the key

Delete a text record

Delete a text record.

Get all text records

Get all text records for a subname.

Get one text record

Get a specific text record by key.
Return Type: