application/json
{
"publicKey": "BASE64_OR_HEX_ENCODED_PUBLIC_KEY"
}
publicKey
(string, required): The public key in Base64 or Hexadecimal format.200 OK
):{
"address": "GENERATED_CRYPTOGRAPHIC_ADDRESS"
}
address
(string): The SHA3-256 hashed address derived from the public key.400 Bad Request
):{
"error": true,
"message": "Invalid request: publicKey cannot be null or empty.",
"timestamp": 1737059076672
}
500 Internal Server Error
):{
"error": true,
"message": "An unexpected error occurred while processing the request.",
"timestamp": 1737059076672
}
publicKey
must be properly formatted in Base64 or Hexadecimal encoding.400 Bad Request
error.500 Internal Server Error
response.publicKey
in Base64 or Hexadecimal format.curl --location --request POST 'https://sandnet.norsh.org/v1/cryptography/address' \
--header 'Content-Type: application/json' \
--data-raw '{
"publicKey": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEP+GH+0DkcMkgNvypFvXPIAJWdJaZgLICsZ6xqQUdyb6jyFmg9rZnepZlPyodeS26r1MKJ8qFcJ47l29DNaeZ9Q=="
}'
{
"address": "cea7299a2d1263598e2255f7363f711d63ec2b6ce7b5d3daed0b573b580ba954"
}