Hi All,
any ideas what can be wrong when requesting Auth API with such request:
MORALIS_REQUEST_EVM_URL = 'https://authapi.moralis.io/challenge/request/evm'
request_object = {
"domain": "localhost",
"chainId": "137",
"address": data['address'], #checked that address is correct
"statement": "Please confirm",
"uri": "http://127.0.0.1/",
"expirationTime": str(str(add_hours_to_now(24))[:-6]) + 'Z',
"notBefore": str(str(add_minutes_to_now(-30))[:-6]) + 'Z',
"timeout": 15,
"resources": [
"https://docs.moralis.io/"
]
}
x = requests.post(
MORALIS_REQUEST_EVM_URL,
json=request_object,
headers={'X-API-KEY': API_KEY})
Thanks in advance.