Set primary name
Set a Subname as Primary Name for an address.
Header parameters
x-signaturestringRequired
The signature.
x-messagestringRequired
The Message.
x-addressstringRequired
The Address.
Body
namestringRequiredExample:
The subname
ghadi.jan.ethaddressstringRequiredExample:
The address of the primary name
0xb965a5f3a0fC18D84E68883ccAd508445a7917A8chainIdnumberRequiredExample:
Chain id, we only support Ethereum Mainnet and Sepolia Testnet (1 for mainnet, 11155111 for sepolia)
11155111Responses
default
The primary name was set successfully.
application/json
post
/ens/v1/primary-name/set-primary-namedefault
The primary name was set successfully.
Was this helpful?