APIs
API wrapper for getHemiNames
Get the name for a specified wallet address.
Input:
Copy
const walletAddress = '---Enter Wallet Address---'
const response = fetch(`https://getheminames.me/api/domainSearch?address=${walletAddress}`)
address
: stringTarget wallet address
Output:
domain
: stringDomain name
Get address for a specified domain name
Input:
Copy
const name = '---Enter domain name (semi.hemi)---'
const response = fetch(`https://getheminames.me/api/addressresolver?name=${name}`)
name
: stringTarget wallet address
Output:
address
: string Domain name
The domain name only return if the user has set any domain as primary domain
Last updated