Skip to content

Get the address associated to a name

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

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

Arguments

Parameter Type Required Description
name String Yes Ans name to look up the address for

Response

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