Add
Was this helpful?
Was this helpful?
Add a new subname
/ens/v1/subname/add
The Api Key.
The signature.
The Message.
The Address.
Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)
11155111
The username
dev
The second-level domain
jan.eth
The content hash of the subname
ipfs://QmRAQB6YaCyidP37UdDnjFY5vQuiBrcqdyoW1CuDgwxkD4
The addresses corresponding to the subname
[{"address":"0xb965a5f3a0fC18D84E68883ccAd508445a7917A8","coinType":60},{"address":"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa","coinType":0}]
The texts records corresponding to the subname
[{"key":"twitter.com","value":"justaname_id"},{"key":"youtube.com","value":"justaname"}]