Resolve a referral code
curl --request GET \
--url https://api.unitedmarket.ai/referral/resolve/{code}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/referral/resolve/{code}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/referral/resolve/{code}"
response = requests.get(url)
print(response.text){
"referrer": "<string>"
}{
"message": "<string>",
"error": "Unauthorized",
"statusCode": 401
}Referral
Resolve a referral code
Resolves a referral code to the wallet address of its owner.
GET
https://api.unitedmarket.ai
/
referral
/
resolve
/
{code}
Resolve a referral code
curl --request GET \
--url https://api.unitedmarket.ai/referral/resolve/{code}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/referral/resolve/{code}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/referral/resolve/{code}"
response = requests.get(url)
print(response.text){
"referrer": "<string>"
}{
"message": "<string>",
"error": "Unauthorized",
"statusCode": 401
}