Skip to content

Get the token associated to a given name_hash

This API endpoint accepts a path parameter name_hash and returns an avatar for a name hash

ENDPOINT
GET https://aleo-mainnet.obscura.network/v1/<API_KEY>/ans/token/{name_hash}.svg
ENDPOINT
GET https://aleo-testnetbeta.obscura.network/v1/<API_KEY>/ans/token/{name_hash}.svg

Arguments

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

Response

Parameter Type Description
result SVG avatar for the given name_hash
````