Skip to content

Get the name_hash matching the given name

This API endpoint accepts a path parameter name and returns a NameHash object.

ENDPOINT
GET https://aleo-mainnet.obscura.network/v1/<API_KEY>/ans/name_to_hash/{name}
ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/ans/name_to_hash/{name}

Arguments

Parameter Type Required Description
name String Yes string of the name to get the hash of

Response

Parameter Type Description
name_hash String the name_hash requested
name String the name matching the name_hash
````