API authentication
Last updated
Last updated
GET /api/generate-login-message?wallet_address=text&selected_chain=text HTTP/1.1
Accept: */*
{
"message": "text",
"nonce": "text",
"expiration": 1
}POST /api/login HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 97
{
"wallet_address": "text",
"selected_chain": "text",
"nonce": "text",
"message": "text",
"signature": [
1
]
}{
"success": true,
"message": "text",
"session_id": "text",
"expires_at": "2026-02-06T04:37:36.782Z"
}POST /api/logout HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"session_id": "text"
}{
"success": true,
"message": "text"
}