Verify SIWE signature
curl --request POST \
--url https://api.unitedmarket.ai/auth/verify \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', signature: '<string>'})
};
fetch('https://api.unitedmarket.ai/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/auth/verify"
payload = {
"message": "<string>",
"signature": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"accessToken": "<string>",
"refreshToken": "<string>"
}Authentication
Verify SIWE signature
Verifies a SIWE message and returns session tokens.
POST
https://api.unitedmarket.ai
/
auth
/
verify
Verify SIWE signature
curl --request POST \
--url https://api.unitedmarket.ai/auth/verify \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', signature: '<string>'})
};
fetch('https://api.unitedmarket.ai/auth/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/auth/verify"
payload = {
"message": "<string>",
"signature": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"accessToken": "<string>",
"refreshToken": "<string>"
}