Generates an address from a public key.
POST
https://sandnet.norsh.org/v1/crypto/address
API
Last modified:2025-06-05 20:32:30
Request Format
application/json
{
"publicKey": "BASE64_OR_HEX_ENCODED_PUBLIC_KEY"
}
publicKey
(string, required): The public key in Base64 or Hexadecimal format.Response 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
}
Notes
publicKey
must be properly formatted in Base64 or Hexadecimal encoding.400 Bad Request
error.500 Internal Server Error
response.How This API Works
1.
publicKey
in Base64 or Hexadecimal format.2.
3.
4.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandnet.norsh.org/v1/crypto/address' \
--header 'Content-Type: application/json' \
--data-raw '{
"publicKey": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEP+GH+0DkcMkgNvypFvXPIAJWdJaZgLICsZ6xqQUdyb6jyFmg9rZnepZlPyodeS26r1MKJ8qFcJ47l29DNaeZ9Q=="
}'
Response Response Example
200 - Success
{
"address": "cea7299a2d1263598e2255f7363f711d63ec2b6ce7b5d3daed0b573b580ba954"
}
Request
Body Params application/json
Responses
Modified at 2025-06-05 20:32:30