Skip to content

Get public_ans data by name

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

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

Arguments

Parameter Type Required Description
address String Yes Ans address to get public data for

Response

Parameter Type Description
name String the name matching the given name
name_hash String the name_hash matching the name
address String the address matching the name
is_primary_name boolean boolean whether its the primary name or not
resolver String the resolver content
````