Skip to main content
GET
/
v0
/
auth
/
siwe
/
challenge
Get Challenge
curl --request GET \
  --url https://api.sumvin.com/v0/auth/siwe/challenge
{
  "_links": {
    "self": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    }
  },
  "message": "<string>",
  "nonce": "<string>",
  "expires_at": 123
}

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-sumvin-token
string | null
x-juno-jwt
string | null

Query Parameters

address
string
required

Wallet address to generate challenge for

chain_id
integer
required

Chain ID for the wallet

Response

SIWE challenge generated

HAL-style links

message
string
required

EIP-4361 formatted message to sign

nonce
string
required

One-time nonce for replay protection

expires_at
integer
required

Challenge expiry timestamp (epoch ms)