curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/nameService/{chainName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"domain": "An example name",
"signature": "<string>"
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"domain": "An example name",
"enabledAt": "2023-11-07T05:31:56Z"
}curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/nameService/{chainName} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"domain": "An example name",
"signature": "<string>"
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"domain": "An example name",
"enabledAt": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
Shortened chain name
ETH, EVM, FLOW, SOL, ALGO, STARK, COSMOS, BTC, ECLIPSE, SUI, SPARK, TRON, APTOS, TON Successfully created nane service for this environment and chain
36"95b11417-f18f-457f-8804-68e361f9164f"
Valid blockchain wallet address, must be an alphanumeric string without any special characters
255"0xbF394748301603f18d953C90F0b087CBEC0E1834"
255"An example name"
If the ENS domain is enabled, then this timestamp will be present.
Was this page helpful?