Add
Add a new subname
Header parameters
x-api-keystringRequired
The Api Key.
x-signaturestringRequired
The signature.
x-messagestringRequired
The Message.
x-addressstringRequired
The Address.
Body
usernamestringRequiredExample:
The username
devensDomainstringRequiredExample:
The second-level domain
jan.ethchainIdnumberRequiredExample:
Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)
11155111contentHashstringOptionalExample:
The content hash of the subname
ipfs://QmRAQB6YaCyidP37UdDnjFY5vQuiBrcqdyoW1CuDgwxkD4Responses
default
The Subname was added successfully.
application/json
post
/ens/v1/subname/adddefault
The Subname was added successfully.
Was this helpful?