Skip to main content
POST
/
v1
/
auth
/
challenge
Error
A valid request URL is required to generate request examples
{
  "challenge": "<string>",
  "expiresAt": "<string>"
}

Authorizations

aura_session
string
cookie
required

HttpOnly session cookie set by POST /v1/auth/session. Mutating requests must also send the CSRF token (returned by that call) in the x-csrf-token header.

Body

application/json
address
string

Alephium address (base58, optional :N group suffix).

Required string length: 30 - 80
Pattern: ^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$

Response

Default Response

challenge
string
required

Plaintext message to sign with the wallet (signMessage with hasher="alephium").

expiresAt
string
required

ISO-8601 expiry (5 minutes from issuance).