Learn how to add, update, and delete blockchain address records associated with ENS subnames.
addAddressRecord
method adds or updates an address record for the specified subname on the given blockchain network.
subname
: The full ENS subname (e.g., "ns.myensname.eth"
).chain
: A value from the ChainName
enum representing the target blockchain.value
: The address to associate with the subname for the specified chain.deleteAddressRecord
method removes an address record for a specific blockchain from a given subname.
subname
: The full ENS subname.chain
: The blockchain network whose address record should be removed.