Skip to content

Get the primary_name by address

This API endpoint accepts a path parameter address and returns an AddressName object.

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

Arguments

Parameter Type Required Description
address String Yes Aleo address to get the name for

Response

Parameter Type Description
name String the name matching the Aleo address
address String the address matching the name
````