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
[
{
"key": "email",
"value": "alice@example.com"
}
]Address records to set on the subname
[{ "coin": 60, "value": "0x1234...abcd" }]Arbitrary metadata stored offchain or in ENS records
[{ "key": "role", "value": "admin" }]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
{ "email": "alice@example.com" }Address records associated with the subname
{ "ETH": "0x1234...abcd" }Metadata associated with the subname
{ "role": "admin" }Namehash of the subname
"0xabc123..."
Content hash of the subname
"ipfs://Qm..."

