Create or update a subname
Creates or updates an offchain subname under a parent ENS name. Requires a valid API key.
Authorizations
Body
Parent ENS name (e.g., oppunk.eth)
7 - 255"oppunk.eth"
Subname label (e.g., alice if full name is alice.oppunk.eth)
1 - 255"alice"
Text records to set on the subname
Address records to set on the subname
Arbitrary metadata stored offchain or in ENS records
Address of the new subname owner (must be a valid Ethereum address)
"0x1234...abcd"
Contenthash (e.g., for IPFS/IPNS/Skynet)
"ipfs://0xe30101701220eec561a728cb61c29cfae..."
TTL value in seconds
3600
Response
Subname created or updated
Unique identifier of the subname
"123"
Full name of the subname (e.g., alice.oppunk.eth)
"alice.oppunk.eth"
Parent name (e.g., oppunk.eth)
"oppunk.eth"
Label of the subname (e.g., alice)
"alice"
Text records associated with the subname
Address records associated with the subname
Metadata associated with the subname
Namehash of the subname
"0xabc123..."
Content hash of the subname
"ipfs://Qm..."

