v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
NameServices

Create a new name service for the environment and chain

post/environments/{environmentId}/nameService/{chainName}

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

chainName'ETH' | 'EVM' | 'FLOW' | 'SOL' | 'ALGO' | 'STARK' | 'COSMOS' | 'BTC' | 'ECLIPSE' | 'SUI' | 'SPARK' | 'TRON' | 'APTOS' | 'TON' | 'STELLAR' required

Shortened chain name

Request body

addressstring required

Valid blockchain wallet address, must be an alphanumeric string without any special characters

domainstring required
signaturestring required

Example request

{
  "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
  "domain": "An example name"
}

Response

Successfully created nane service for this environment and chain

idstring required
addressstring required

Valid blockchain wallet address, must be an alphanumeric string without any special characters

domainstring required
enabledAtstring date-time nullable

If the ENS domain is enabled, then this timestamp will be present.

Example response

{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
  "domain": "An example name"
}