POST
/
environments
/
{environmentId}
/
nameService
/
{chainName}
/
signingMessage
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/nameService/{chainName}/signingMessage \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
  "domain": "An example name",
  "uri": "<string>"
}'
{
  "unsignedMessage": "<string>"
}

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
chainName
enum<string>
required

Shortened chain name

Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC,
ECLIPSE

Body

application/json
address
string
required

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

Maximum length: 255
domain
string
required
Maximum length: 255
uri
string
required

Response

200
application/json
Unsigned SIWE message to sign
unsignedMessage
string
required

Plaintext message in chain-specific format (eg. SIWE for EVM) that needs to be signed with the admin domain address.