v1

latestOpenAPI 3.0.02026-07-2471143147.5 KB
Authentication

Login with EIP-712 signature

Authenticate using an EIP-712 Login signature. Returns JWT access and refresh tokens. For returning users who already have an active on-chain allowance.

post/v1/auth/login

Request body

accountstring

Account address (0x-prefixed, checksummed)

noncestring

Server-issued nonce from GetLoginNonce

deadlineinteger

Unix timestamp — signature expires after this

signaturestring

EIP-712 Login signature (0x-prefixed hex, 65 bytes)

Example request

{
  "account": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
}

Response

A successful response.

access_tokenstring
refresh_tokenstring
expires_ininteger
token_typestring